Initing with null, and creating a bitset that is never assigned is obviously not
what was intended here.
... | ... |
@@ -2302,7 +2302,7 @@ int cl_scandesc(int desc, const char **virname, unsigned long int *scanned, cons |
2302 | 2302 |
if(!ctx.fmap) |
2303 | 2303 |
return CL_EMEM; |
2304 | 2304 |
ctx.fmap--; |
2305 |
- ctx.hook_lsig_matches = NULL; cli_bitset_init(); |
|
2305 |
+ ctx.hook_lsig_matches = cli_bitset_init(); |
|
2306 | 2306 |
|
2307 | 2307 |
rc = cli_magic_scandesc(desc, &ctx); |
2308 | 2308 |
|