]> granicus.if.org Git - php/commit
Fixed bug #61645 (fopen and O_NONBLOCK)
authorMichael Wallner <mike@php.net>
Fri, 6 Dec 2013 09:29:24 +0000 (10:29 +0100)
committerMichael Wallner <mike@php.net>
Fri, 6 Dec 2013 09:29:24 +0000 (10:29 +0100)
commitb5f5bff965c1a27a4820d0129d61f80ef8894e38
treea443003ac2871d7b498523e9f825d801c04ae478
parent098d2a5d0ff6353602654a9872c76c5811277546
Fixed bug #61645 (fopen and O_NONBLOCK)

if a mode like "rn" was passed to fopen(), then
php_stream_parse_fopen_modes() would assign O_WRONLY to
flags, because O_NONBLOCK tainted flags for the r/w/+ check
NEWS
main/streams/plain_wrapper.c