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 5 months ago. Updated 4 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

Also available in: Atom PDF