https://sourceware.org/bugzilla/show_bug.cgi?id=28210
Bug ID: 28210 Summary: A potential bug of null pointer dereference Product: binutils Version: 2.24 Status: UNCONFIRMED Severity: critical Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: 1157401338 at qq dot com Target Milestone: --- Created attachment 13602 --> https://sourceware.org/bugzilla/attachment.cgi?id=13602&action=edit NULL Pointer Dereference in file make-relative-prefix.c,defination of save_string In file binutils-2.24/libiberty/make-relative-prefix.c,defination of save_string,line 109 Function malloc may fail to allocate memory,so result may be a null pointer and then copy data to this pointer can be null.there should check whether result is null pointer or not. -- You are receiving this mail because: You are on the CC list for the bug.