https://sourceware.org/bugzilla/show_bug.cgi?id=17766

            Bug ID: 17766
           Summary: libbfd incorrect expression
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: sourceware-bugs at internot dot info

Hi,


In pei-x86_64.c, *xdata_name is assigned incorrect memory due to a common error
in handling NUL bytes.

604      char *xdata_name = alloca (strlen (pdata_section->name + 1));

It should be
strlen(pdata_section->name) + 1



Thanks,

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to