|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-02-26 21:32 UTC] yohgaki@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 19:00:01 2025 UTC |
In file php_open_temporary_file.c, the code test for the existence of a trailing slash on the 'path' argument using the statement: if (*path+strlen(path)-1 == '/') { ... This test is incorrect, meaning a trailing slash on, upload_tmp_dir, for example, won't be handled as intended. A correct way to do the test would be: if (path[strlen(path)-1] == '/') { ...