php-src/ext/fileinfo
Dik Takken f3c58a5ed6 Make handling of NULL bytes in file paths more consistent (WIP)
Not all extensions consistently throw exceptions when the user passes
a path name containing null bytes. Also, some extensions would throw
a ValueError while others would throw a TypeError. Error messages
also varied.

Now a ValueError is thrown after all failed path checks, at least for
as far as these occur in functions that are exposed to userland.

Closes GH-6216.
2020-09-29 14:55:10 +02:00
..
libmagic Revert "libmagic: Move the allocation on the stack" 2020-09-02 20:04:00 +02:00
tests Make handling of NULL bytes in file paths more consistent (WIP) 2020-09-29 14:55:10 +02:00
config.m4 fileinfo: Upgrade to libmagic 5.39 2020-08-29 02:05:56 +02:00
config.w32 fileinfo: Upgrade to libmagic 5.39 2020-08-29 02:05:56 +02:00
create_data_file.php Apply tidy formatting 2020-02-03 13:41:31 +01:00
CREDITS It looks like i should've taken joint response on ext/fileinfo long ago 2017-10-11 22:21:34 +02:00
data_file.c fileinfo: Followup fixes 2020-08-29 19:03:41 +02:00
fileinfo.c Make handling of NULL bytes in file paths more consistent (WIP) 2020-09-29 14:55:10 +02:00
fileinfo.stub.php Update fileinfo parameter names 2020-09-24 18:36:36 +02:00
fileinfo_arginfo.h Update fileinfo parameter names 2020-09-24 18:36:36 +02:00
generate_patch.sh Merge branch 'PHP-7.3' into PHP-7.4 2020-03-02 15:08:50 +01:00
libmagic.patch libmagic: Update patch 2020-09-02 21:25:24 +02:00
magicdata.patch fileinfo: Followup fixes 2020-08-29 19:03:41 +02:00
Makefile.frag Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
php_fileinfo.h Generate function entries from stubs for a couple of extensions 2020-04-04 20:41:48 +02:00