mirror of
https://github.com/php/php-src.git
synced 2025-08-21 01:45:16 +02:00
- MFH: Add a testcase for chgrp() with a NULL as group name, which crashes ATM.
This commit is contained in:
parent
c692127ff2
commit
7fa84a1260
1 changed files with 9 additions and 0 deletions
9
ext/standard/tests/file/chgrp.phpt
Normal file
9
ext/standard/tests/file/chgrp.phpt
Normal file
|
@ -0,0 +1,9 @@
|
|||
--TEST--
|
||||
chgrp() with NULL as group name
|
||||
--FILE--
|
||||
<?php
|
||||
chgrp("sjhgfskhagkfdgskjfhgskfsdgfkdsajf", NULL);
|
||||
echo "ALIVE\n";
|
||||
?>
|
||||
--EXPECT--
|
||||
ALIVE
|
Loading…
Add table
Add a link
Reference in a new issue