Actions
Bug #3818
closedCoverity scan issue -- null pointer deref in detect engine
Affected Versions:
Effort:
Difficulty:
Label:
Description
** CID 1465221: Null pointer dereferences (REVERSE_INULL) /src/detect-engine.c: 782 in DetectBufferTypeFreeFunc() ________________________________________________________________________________________________________ *** CID 1465221: Null pointer dereferences (REVERSE_INULL) /src/detect-engine.c: 782 in DetectBufferTypeFreeFunc() 776 "%s allocates transform option memory but has no free routine", 777 sigmatch_table[map->transforms.transforms[i].transform].name); 778 continue; 779 } 780 sigmatch_table[map->transforms.transforms[i].transform].Free(NULL, map->transforms.transforms[i].options); 781 } >>> CID 1465221: Null pointer dereferences (REVERSE_INULL) >>> Null-checking "map" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 782 if (map != NULL) { 783 SCFree(map); 784 } 785 } 786 787 static int DetectBufferTypeInit(void)
Actions