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] posix: Add compat glob symbol to not follow dangling symbols



On 15/09/2017 16:52, Florian Weimer wrote:
> On 09/15/2017 09:21 PM, Adhemerval Zanella wrote:
>> This follow commit 5554304f0 (posix: Allow glob to match dangling
>> symlinks [BZ #866]) by adding a compat symbol that follow previous
>> semantic of not following dangling symlinks and thus avoiding call
>> gl_lstat with GLOB_ALTDIRFUNC.
>>
>> This avoid failure with old binaries that not set the alternate function
>> pointer for lstat, GNUmake for instance.
> 
> Will simple recompilation of GNU make reintroduce the access to an uninitialized gl_lstat pointer?

Yes and my previous suggestion to avoid also has some drawbacks that
which Paul Eggert suggested to avoid [1].  He already filed a bug for
make [2].

[1] https://sourceware.org/ml/libc-alpha/2017-09/msg00536.html
[2] http://lists.gnu.org/archive/html/bug-make/2017-09/msg00014.html


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