Task #130797 - added.err
back to task #130797download
Error: GCC_ANALYZER_WARNING (CWE-476): discount-2.2.7/mkd2html.c:119:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown> + (long unsigned int)headers.size * 8’ discount-2.2.7/mkd2html.c:108:5: branch_true: following ‘true’ branch... discount-2.2.7/mkd2html.c:109:9: branch_true: ...to here discount-2.2.7/mkd2html.c:109:9: branch_false: following ‘false’ branch... discount-2.2.7/mkd2html.c:114:18: branch_false: ...to here discount-2.2.7/mkd2html.c:119:13: branch_false: following ‘false’ branch... discount-2.2.7/mkd2html.c:119:13: acquire_memory: this call could return NULL discount-2.2.7/mkd2html.c:119:13: danger: ‘<unknown> + (long unsigned int)headers.size * 8’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6) # 117| break; # 118| case ADD_HEADER: # 119|-> EXPAND(headers) = hoptarg(&flags); # 120| break; # 121| case ADD_FOOTER: