mirror of https://git.musl-libc.org/git/musl
Browse Source
commit 01ae3fc6d4 modified fstatat to
translate the kernel's struct stat ("kstat") into the libc struct stat.
To do this, it created a local kstat object, and copied its contents
into the user-provided object.
However, the commit neglected to update the fstat compatibility path and
its fallbacks. They continued to pass the user-supplied object to the
kernel, later overwiting it with the uninitialized memory in the local
temporary.
master
committed by
Rich Felker
1 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue