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] |
Greetings On 11/9/19 6:18 PM, Tim Rühsen wrote: > In line > if (dirs[num_dirs - 1] == NULL) > 'num_dirs' can be 0. > > Regards, Tim > I've looked at the control-flow on this file and I do not see a possible path for num_dirs to be 0 at line 186, unless the file name in question is the empty string "", at which point it may just be easier to return earlier. Can you please verify this? Thank you. Cheers, Orlando.
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |