add nullbyte detection to proc_open
commit4bd3774a55dc1a30ecf2df02f618b1dd5571cc36
authorbill fumerola <bill@fb.com>
Tue, 19 May 2015 00:27:31 +0000 (18 17:27 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Fri, 22 May 2015 01:30:47 +0000 (21 18:30 -0700)
tree23129d743b2b69e0b5e688177033d8231ceeaef9
parentf67f6c471a774afe821637f94efe54e0773f3ed4
add nullbyte detection to proc_open

Summary: php compat: https://github.com/php/php-src/commit/a8722f5330507be74c40d5b8d313226540ea4f48

cleaned up code in the neighborhood. i can split those cleanups out if desired.

Reviewed By: @markw65

Differential Revision: D2082810
hphp/runtime/ext/process/ext_process.cpp
hphp/test/slow/ext_process/lwp.php
hphp/test/slow/ext_process/lwp.php.expectf