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


On 18/09/17 15:42, Adhemerval Zanella wrote:
> Changes from previous version:
> 
>   * Fix alpha oldglob definition by making it also not follow dangling
>     symlinks.
> 
>   * Add powerpc64le abilist entries.
> 
>   * Increase _GNU_GLOB_INTERFACE_VERSION to 2 to advertive a new internal
>     glob semantic.
> 
> ---
> 
> This patch follows 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.
> 
> It avoids failure with old binaries that not set the alternate function
> pointer for lstat (GNUmake for instance).  The following scenario, for
> instance, fails with current GNUmake because glibc will access unitialized
> memory when calling gl_lstat:
> 

i still think the original change should be reverted
until there is a released version of make with the fix.

build scripts will use a released version of make
and the breakage will go unnoticed until make is
run on the newly built system.


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