summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-09-02 10:15:54 +0000
committerPierre Joye <pajoye@php.net>2008-09-02 10:15:54 +0000
commitc8a0c3b0f5a07341fb7365ec3aadab08231822b0 (patch)
treed9234418331ebb9ad2bbf83016e2c57ed06e4255 /ext/pcre/php_pcre.c
parentd5bba04ac5b48d64e056ed98735ad48aa856cf90 (diff)
downloadphp-git-c8a0c3b0f5a07341fb7365ec3aadab08231822b0.tar.gz
- don't close caller streams in libmagic (prevent leak and zombie stream)
- string returned by magic_* are freed on magic_close, duplicate before calling magic_close (set return value) - if stat failed, don't try to call magic_* (when FILEINFO_MODE_FILE)
Diffstat (limited to 'ext/pcre/php_pcre.c')
0 files changed, 0 insertions, 0 deletions