Project

General

Profile

Actions

Bug #7049

closed

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

Added by Alexey Simakov 6 months ago. Updated 5 months 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
Actions #1

Updated by Alexey Simakov 6 months ago

  • 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
Actions #2

Updated by Alexey Simakov 6 months ago

  • 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
Actions #3

Updated by Alexey Simakov 6 months ago

  • 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
Actions #4

Updated by Alexey Simakov 6 months ago

  • Status changed from New to In Review
Actions #5

Updated by Alexey Simakov 6 months ago

  • Status changed from In Review to Resolved
Actions #6

Updated by Alexey Simakov 6 months ago

  • Status changed from Resolved to In Review
Actions #7

Updated by Alexey Simakov 6 months ago

  • Status changed from In Review to Closed
Actions #8

Updated by Victor Julien 6 months ago

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

Updated by OISF Ticketbot 6 months ago

  • Subtask #7064 added
Actions #10

Updated by OISF Ticketbot 6 months ago

  • Label deleted (Needs backport to 7.0)
Actions #11

Updated by Philippe Antoine 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF