• Nils Goroll's avatar
    TAKE_OBJ_NOTNULLification: cases with the first AN(objp) missing · 65cd2e05
    Nils Goroll authored
    in these cases, the initial AN(objp) was missing, so we would
    potentially dereference a NULL pointer without an explicit assertion
    failure.
    
    in VCL_Rel(), AN(*vcc) was likely just a typo resulting in a semantic
    noop (the check was a duplication of the NULL check in
    CHECK_OBJ_NOTNULL).
    
    ... more examples why using the macro is a good idea
    65cd2e05
Name
Last commit
Last update
..
README.rst Loading commit data...
check_obj.cocci Loading commit data...
closefd.cocci Loading commit data...
free_obj.cocci Loading commit data...
printf_nofmt.cocci Loading commit data...
replace.cocci Loading commit data...
return.cocci Loading commit data...
take_obj_notnull.cocci Loading commit data...
varnish.iso Loading commit data...
vcc_skip_token.cocci Loading commit data...
ws_reserve.cocci Loading commit data...