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]: Improve handling of DW_LNE_define_file


On Jan 16, 2012, at 11:16 PM, Alan Modra wrote:

> On Thu, Jan 12, 2012 at 01:05:15PM +0100, Tristan Gingold wrote:
>>                   case DW_LNE_define_file:
>>                     {
>> -                      unsigned int dir_index = 0;
>> +                      file_table = (File_Entry *)
>> +                        xmalloc ((n_files + 1) * sizeof (File_Entry));
> 
> xrealloc.  Otherwise OK.

Argh, silly me.

Fixed, regtested and committed.

Thank you for catching that!

Tristan.


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