This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] merge.c, don't pass null ptr to memcpy


If alignment_power can't be zero, there's no use testing it.
If it can, we still need to allocate a pad buffer (albeit of
one byte), because it will be passed to bfd_bwrite and hence
to memcpy.

Attachment: pad.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]