Bug #1593: mktemp crash

From: Date: Thu, 24 Jun 1999 10:45:03 +0000
Subject: Bug #1593: mktemp crash
Groups: php.dev 
Request: Send a blank email to php-dev+get-7495@lists.php.net to get a copy of this message
From: lemming@k332.feld.cvut.cz Operating system: Linux 2.0.34 PHP version: 3.0.9 PHP Bug Type: Reproduceable crash Bug description: mktemp crash mktemp() function doesn't test, whether system mktemp returned NULL. This can happen when mktemp cannot create temporary file. How to invoke: As root: mkdir /tmp/aa chmod og-rx /tmp/aa chown user.group /tmp/aa As user.group run: <? echo mktemp("/tmp/aa","XXX"); ?>

« previous php.dev (#7495) next »