about summary refs log tree commit diff
path: root/src/stat/mkdir.c
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2014-03-13 20:27:55 +0100
committerrofl0r <retnyg@gmx.net>2014-03-13 20:52:34 +0100
commit2b47a7aff24bbfbe7ba89fc6d542acc9f5493ae2 (patch)
tree107f246032a3be3154cacbece31002dbaf947ea9 /src/stat/mkdir.c
parent7673acd31503016f2af93e187aac98da07af42b4 (diff)
downloadmusl-2b47a7aff24bbfbe7ba89fc6d542acc9f5493ae2.tar.gz
musl-2b47a7aff24bbfbe7ba89fc6d542acc9f5493ae2.tar.xz
musl-2b47a7aff24bbfbe7ba89fc6d542acc9f5493ae2.zip
semctl: fix UB causing crashes on powerpc
it's UB to fetch variadic args when none are passed, and this caused
real crashes on ppc due to its calling convention, which defines that
for variadic functions aggregate types be passed as pointers.
the assignment caused that pointer to get dereferenced, resulting in
a crash.
Diffstat (limited to 'src/stat/mkdir.c')
0 files changed, 0 insertions, 0 deletions