This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] ld.so: Reject overly long LD_PRELOAD path elements


On 06/19/2017 06:27 PM, Andreas Schwab wrote:
>> +      /* Skip over the substring and the following delimiter.  */
>> +      p += len;
>> +      if (*p == ' ' || *p == ':')
> If you use *p != '\0' you don't have to repeat the list of delimiters.

Thanks, applied.

Florian


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