Task #118709 - added.err
back to task #118709download
Error: GCC_ANALYZER_WARNING (CWE-476): binutils-with-gold-2.46.50-2ea3f3a7ac2/bfd/elfxx-x86.c:1996:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’ # 1994| case SFRAME_PLT: # 1995| ectx = &htab->plt_cfe_ctx; # 1996|-> sec = htab->plt_sframe; # 1997| break; # 1998| case SFRAME_PLT_SEC: Error: GCC_ANALYZER_WARNING (CWE-476): binutils-with-gold-2.46.50-2ea3f3a7ac2/bfd/elfxx-x86.c:2000:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’ # 1998| case SFRAME_PLT_SEC: # 1999| ectx = &htab->plt_second_cfe_ctx; # 2000|-> sec = htab->plt_second_sframe; # 2001| break; # 2002| case SFRAME_PLT_GOT: Error: GCC_ANALYZER_WARNING (CWE-476): binutils-with-gold-2.46.50-2ea3f3a7ac2/bfd/elfxx-x86.c:2004:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’ # 2002| case SFRAME_PLT_GOT: # 2003| ectx = &htab->plt_got_cfe_ctx; # 2004|-> sec = htab->plt_got_sframe; # 2005| break; # 2006| default: Error: CPPCHECK_WARNING (CWE-562): binutils-with-gold-2.46.50-2ea3f3a7ac2/libiberty/simple-object.c:316: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning. # 314| aeabi attributes are present in this section. */ # 315| else if (strcmp (name, ".ARM.attributes") == 0) # 316|-> return strcpy (newname, name); # 317| free (newname); # 318| return NULL;