|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-01-13 19:15 UTC] phpmpan at mpan dot pl
[2018-08-05 04:00 UTC] carusogabriel@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: carusogabriel
[2018-08-05 04:00 UTC] carusogabriel@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 02:00:01 2025 UTC |
Description: ------------ Hi, In /main/php_open_temporary_file.c: 247#ifdef P_tmpdir 248 /* Use the standard default temporary directory. */ 249 if (P_tmpdir) { 250 temporary_directory = strdup(P_tmpdir); 251 return temporary_directory; 252 } 253#endif 249 if (P_tmpdir) { is useless due to 2 reasons: 1. it's an array, and cannot be NULL. 2. the check at line 247 should be fine as it is. Thanks,