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]

Re: [PATCH] aout relocs


>> And bfd_bread does this:
>>
>>   memcpy (ptr, bim->buffer + abfd->where, size);
>>
>> where both ptr and size might be zero.
>
> That's the only place where something needs to be done (the pointer must
> still be valid even if the size is zero).

Alright -- that's enough to justify the patch, isn't it?



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