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>
Mon, 30 Mar 2015 05:41:32 +0000 (01:41 -0400)
commit4ab6544a418ad56d42c2eb05940918a948075a3f
tree1779e2ea3ea38157de02b644130f803140a490a2
parente3fa4300bf17d2b051bf21f451656af841404c2b
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.

(cherry picked from commit 2da3ab1382ca8e39eb1e4428103764a81fba73d3)
src/fcntl/openat.c