Actions
Bug #3149
closedscan-build warnings in radix implementation
Affected Versions:
Effort:
Difficulty:
Label:
Description
CC util-radix-tree.o util-radix-tree.c:597:34: warning: Access to field 'stream' results in a dereference of a null pointer (loaded from field 'prefix') if ((temp = (stream[i] ^ bottom_node->prefix->stream[i])) == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ util-radix-tree.c:719:30: warning: Access to field 'stream' results in a dereference of a null pointer (loaded from field 'prefix') if (SC_RADIX_BITTEST(bottom_node->prefix->stream[differ_bit >> 3], ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util-radix-tree.h:27:34: note: expanded from macro 'SC_RADIX_BITTEST' #define SC_RADIX_BITTEST(x, y) ((x) & (y)) ^ 2 warnings generated.
Updated by Victor Julien about 5 years ago
- Related to Task #3153: tracking: scan-build warnings added
Updated by Victor Julien over 1 year ago
- Status changed from New to Resolved
- Assignee changed from OISF Dev to Victor Julien
- Target version changed from TBD to 7.0.0-rc2
- Label Needs backport to 6.0 added
Actions