fix invalid access by openat to possibly-missing variadic mode argument
authorRich Felker <dalias@aerifal.cx>
Fri, 31 Oct 2014 00:08:40 +0000 (20:08 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 31 Oct 2014 00:11:04 +0000 (20:11 -0400)
commit2da3ab1382ca8e39eb1e4428103764a81fba73d3
tree366d0775bb4976aad0dd6110a2d71c576290785a
parent9d836ea7a69a6441fcdca815328d274e4ed6b707
fix invalid access by openat to possibly-missing variadic mode argument

the mode argument is only required to be present when the O_CREAT or
O_TMPFILE flag is used.
src/fcntl/openat.c