On Mon, 18 Mar 2024 at 11:59, Enrico Scholz via lists.openembedded.org <[email protected]> wrote: > > Enrico Scholz <[email protected]> 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.
Thanks for digging, this makes sense as the code and the issue only appear from 4.14 onwards. We had erroneously ascribed the problem to static linking. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197303): https://lists.openembedded.org/g/openembedded-core/message/197303 Mute This Topic: https://lists.openembedded.org/mt/104950372/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
