Enrico Scholz <enrico.sch...@sigma-chemnitz.de> writes:

> 4.14.2/shadow-4.14.2/lib/copydir.c
>
> | 443         if (fstatat(dst->dirfd, dst->name, &sb, AT_SYMLINK_NOFOLLOW) != 
> -1) {
> |                     return 0;
> |             }

Bug in shadow-utils; when fstatat() fails, content of 'sb' will still be
used.

  
https://github.com/shadow-maint/shadow/blob/f4293f9fbc2b855878f549d9124bdd638fb08c60/lib/copydir.c#L439-L447

pseudo might trigger it because it calls the __fxstatat64() with an
uninitialized 64 bit buffer and copies its content to the 32 bit buffer.


Enrico
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#197302): 
https://lists.openembedded.org/g/openembedded-core/message/197302
Mute This Topic: https://lists.openembedded.org/mt/104950372/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to