Task #130653 - added.err
back to task #130653download
Error: GCC_ANALYZER_WARNING (CWE-476):
binutils-2.47/bfd/elf32-i386.c:3796:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.47/bfd/elf32-i386.c:3654:20: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf32-i386.c:3654:20: branch_false: ...to here
binutils-2.47/bfd/elf32-i386.c:3657:6: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf32-i386.c:3663:21: branch_false: ...to here
binutils-2.47/bfd/elf32-i386.c:3665:6: branch_true: following ‘true’ branch...
binutils-2.47/bfd/elf32-i386.c:3675:11: branch_true: ...to here
binutils-2.47/bfd/elf32-i386.c:3675:10: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf32-i386.c:3683:11: branch_false: ...to here
binutils-2.47/bfd/elf32-i386.c:3688:7: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf32-i386.c:3701:10: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf32-i386.c:3709:24: branch_false: ...to here
binutils-2.47/bfd/elf32-i386.c:3718:10: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf32-i386.c:3734:11: branch_false: ...to here
binutils-2.47/bfd/elf32-i386.c:3793:10: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf32-i386.c:3795:15: branch_false: ...to here
binutils-2.47/bfd/elf32-i386.c:3795:14: branch_true: following ‘true’ branch...
binutils-2.47/bfd/elf32-i386.c:3796:13: branch_true: ...to here
binutils-2.47/bfd/elf32-i386.c:3796:13: danger: dereference of NULL ‘htab’
# 3794| {
# 3795| if (htab->plt.has_plt0)
# 3796|-> bfd_put_32 (info->output_bfd,
# 3797| (plt->output_section->vma
# 3798| + plt->output_offset
Error: GCC_ANALYZER_WARNING (CWE-476):
binutils-2.47/bfd/elf64-x86-64.c:5263:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
binutils-2.47/bfd/elf64-x86-64.c:5155:20: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf64-x86-64.c:5155:20: branch_false: ...to here
binutils-2.47/bfd/elf64-x86-64.c:5158:6: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf64-x86-64.c:5164:21: branch_false: ...to here
binutils-2.47/bfd/elf64-x86-64.c:5166:6: branch_true: following ‘true’ branch...
binutils-2.47/bfd/elf64-x86-64.c:5178:11: branch_true: ...to here
binutils-2.47/bfd/elf64-x86-64.c:5178:10: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf64-x86-64.c:5186:11: branch_false: ...to here
binutils-2.47/bfd/elf64-x86-64.c:5191:7: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf64-x86-64.c:5204:10: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf64-x86-64.c:5212:40: branch_false: ...to here
binutils-2.47/bfd/elf64-x86-64.c:5219:10: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf64-x86-64.c:5231:11: branch_false: ...to here
binutils-2.47/bfd/elf64-x86-64.c:5247:10: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf64-x86-64.c:5252:7: branch_false: ...to here
binutils-2.47/bfd/elf64-x86-64.c:5260:10: branch_false: following ‘false’ branch...
binutils-2.47/bfd/elf64-x86-64.c:5262:15: branch_false: ...to here
binutils-2.47/bfd/elf64-x86-64.c:5262:14: branch_true: following ‘true’ branch...
binutils-2.47/bfd/elf64-x86-64.c:5263:13: branch_true: ...to here
binutils-2.47/bfd/elf64-x86-64.c:5263:13: danger: dereference of NULL ‘htab’
# 5261| {
# 5262| if (htab->plt.has_plt0)
# 5263|-> bfd_put_64 (info->output_bfd, (plt->output_section->vma
# 5264| + plt->output_offset
# 5265| + h->plt.offset
Error: GCC_ANALYZER_WARNING (CWE-476):
binutils-2.47/bfd/elfxx-x86.c:1994:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
# 1992| case SFRAME_PLT:
# 1993| ectx = &htab->plt_cfe_ctx;
# 1994|-> sec = htab->plt_sframe;
# 1995| break;
# 1996| case SFRAME_PLT_SEC:
Error: GCC_ANALYZER_WARNING (CWE-476):
binutils-2.47/bfd/elfxx-x86.c:1998:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
# 1996| case SFRAME_PLT_SEC:
# 1997| ectx = &htab->plt_second_cfe_ctx;
# 1998|-> sec = htab->plt_second_sframe;
# 1999| break;
# 2000| case SFRAME_PLT_GOT:
Error: GCC_ANALYZER_WARNING (CWE-476):
binutils-2.47/bfd/elfxx-x86.c:2002:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘htab’
# 2000| case SFRAME_PLT_GOT:
# 2001| ectx = &htab->plt_got_cfe_ctx;
# 2002|-> sec = htab->plt_got_sframe;
# 2003| break;
# 2004| default:
Error: CPPCHECK_WARNING (CWE-562):
binutils-2.47/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;