https://sourceware.org/bugzilla/show_bug.cgi?id=30950
Bug ID: 30950 Summary: Null pointer dereference in elf32-i386.c Product: binutils Version: 2.41 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: shiyuyuranzh at gmail dot com Target Milestone: --- Created attachment 15158 --> https://sourceware.org/bugzilla/attachment.cgi?id=15158&action=edit the detailed information of the bug Hi, I found a null pointer dereference bug in the source code of binutils, and I have shown the execution sequence below. This bug exists in the file /bfd/elf32-i386.c.The white text illustrates the steps that generate the bug. Variable htab receives the return value from elf_x86_hash_table(which may be null),and dereference without checking it is null or not.The detailed instrunctions are in the attachment. -- You are receiving this mail because: You are on the CC list for the bug.