Bug #375 ยป 0001-fix-for-bug-375-update-radix-test-that-wrongly-uses-.patch
src/util-radix-tree.c | ||
---|---|---|
if (node == NULL) {
|
||
goto end;
|
||
}
|
||
memset(node, 0x00, sizeof(node));
|
||
memset(node, 0x00, sizeof(*node));
|
||
void *ptr = SC_RADIX_NODE_USERDATA(node, void);
|
||
if (ptr != NULL) {
|
||
... | ... | |
if (node == NULL) {
|
||
goto end;
|
||
}
|
||
memset(node, 0x00, sizeof(node));
|
||
memset(node, 0x00, sizeof(*node));
|
||
memset(&prefix, 0x00, sizeof(prefix));
|
||
node->prefix = &prefix;
|
||
... | ... | |
if (node == NULL) {
|
||
goto end;
|
||
}
|
||
memset(node, 0x00, sizeof(node));
|
||
memset(node, 0x00, sizeof(*node));
|
||
memset(&prefix, 0x00, sizeof(prefix));
|
||
node->prefix = &prefix;
|