diff options
author | Zeev Suraski <zeev@php.net> | 2000-09-09 11:41:14 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-09-09 11:41:14 +0000 |
commit | 6c4cb4c0791fa3a0c115789b4d22ecf675438ecb (patch) | |
tree | 16824bbb4494c464525b9c963937d112a5e0ad8d /main/rfc1867.h | |
parent | 20fe0a568501bc8ec52f78cc3bf9a7c105e92b35 (diff) | |
download | php-git-6c4cb4c0791fa3a0c115789b4d22ecf675438ecb.tar.gz |
Security related updates:
- Introduce php_open_temporary_file(), in place of tempnam(). Still
needs testing under UNIX (mkstemp()), works reliably under Windows now.
- Reimplement the mechanism for unlinking uploaded files at the end of the request
(was it ever tested?). Files moved with move_uploaded_file() will not be unlink()'d
again, to avoid (albeit very unlikely) race conditions.
Diffstat (limited to 'main/rfc1867.h')
-rw-r--r-- | main/rfc1867.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/rfc1867.h b/main/rfc1867.h index 7e84022fe8..1bcba038ea 100644 --- a/main/rfc1867.h +++ b/main/rfc1867.h @@ -10,4 +10,6 @@ SAPI_POST_HANDLER_FUNC(rfc1867_post_handler); #define FILE_UPLOAD_INPUT_BUFFER_SIZE 8192 +void destroy_uploaded_files_hash(SLS_D); + #endif /* RFC1867_H */ |