/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
sysvshm
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/sysvshm/tests/bug72858.phpt
--TEST-- Bug #72858 shm_attach null dereference --SKIPIF-- <?php if (!extension_loaded("sysvshm")){ print 'skip'; } if (4 < PHP_INT_SIZE) { print "skip 32-bit only"; } if (substr(PHP_OS, 0, 3) != "WIN") { print "skip windows only"; } ?> --FILE-- <?php $v1=100; $v2=0xffffffff / 4 + 0x1337; shm_attach($v1,$v2); ?> --EXPECTF-- Warning: shm_attach(): Failed for key 0x64: Not enough space in %s on line %d
Copyright ©2k19 -
Hexid
|
Tex7ure