Project

General

Profile

Actions

Bug #7049

closed
AS AS

util/radix-tree: Possible dereference of nullptr in case of unsuccess allocation of memory for node

Bug #7049: util/radix-tree: Possible dereference of nullptr in case of unsuccess allocation of memory for node

Added by Alexey Simakov almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
low
Label:
Beginner

Description

There is two places in util-radix-tree:SCRadixAddKeyInternal, where pointer do not checked after allocation
- Allocation memory for new_node and absent check for it;
- Similar for inter_node;


Files

clipboard-202405281924-pxccj.png (9.61 KB) clipboard-202405281924-pxccj.png Alexey Simakov, 05/28/2024 04:24 PM
clipboard-202405281924-pxd8w.png (11.6 KB) clipboard-202405281924-pxd8w.png Alexey Simakov, 05/28/2024 04:24 PM

Subtasks 1 (0 open1 closed)

Bug #7064: util/radix-tree: Possible dereference of nullptr in case of unsuccess allocation of memory for node (7.0.x backport)ClosedVictor JulienActions

AS Updated by Alexey Simakov almost 2 years ago Actions #1

  • Subject changed from util-radix-tree. Possible dereference of nullptr in case of unsuccess allocation to util-radix-tree. Possible dereference of nullptr in case of unsuccess allocation of memory for node

AS Updated by Alexey Simakov almost 2 years ago Actions #2

  • Subject changed from util-radix-tree. Possible dereference of nullptr in case of unsuccess allocation of memory for node to util-radix-tree: Possible dereference of nullptr in case of unsuccess allocation of memory for node

AS Updated by Alexey Simakov almost 2 years ago Actions #3

  • Subject changed from util-radix-tree: Possible dereference of nullptr in case of unsuccess allocation of memory for node to util/radix-tree: Possible dereference of nullptr in case of unsuccess allocation of memory for node

AS Updated by Alexey Simakov almost 2 years ago Actions #4

  • Status changed from New to In Review

AS Updated by Alexey Simakov almost 2 years ago Actions #5

  • Status changed from In Review to Resolved

AS Updated by Alexey Simakov almost 2 years ago Actions #6

  • Status changed from Resolved to In Review

AS Updated by Alexey Simakov almost 2 years ago Actions #7

  • Status changed from In Review to Closed

VJ Updated by Victor Julien almost 2 years ago Actions #8

  • Status changed from Closed to Resolved
  • Target version changed from TBD to 8.0.0-beta1
  • Label Needs backport to 7.0 added

OT Updated by OISF Ticketbot almost 2 years ago Actions #9

  • Subtask #7064 added

OT Updated by OISF Ticketbot almost 2 years ago Actions #10

  • Label deleted (Needs backport to 7.0)

PA Updated by Philippe Antoine almost 2 years ago Actions #11

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom