85 Commits (495a5ab0057504b6719ee5be7462db8fa64a46f2)

Author SHA1 Message Date
Pierre Joye 68a3c3f952 - add license 17 years ago
Felipe Pena 219c2603bb - MFH: Fixed bug #48578 (Can't build 5.3 on FBSD 4.11) (Rasmus) 17 years ago
Scott MacVicar 2d183dcc1d MFH Update bundled libmagic to 5.03 17 years ago
Scott MacVicar c48241a569 MFH Update libmagic data file to 5.02 17 years ago
Scott MacVicar c3b88aec15 MFH Update libmagic to 5.02 17 years ago
Pierre Joye 8e202b40a0 - fix the build for win (vc6 or vc9) 17 years ago
Ilia Alshanetsky ea27fd2ba3 Fixed compiler warnings 17 years ago
Scott MacVicar e10b18693c MFH fileinfo tests are missing skipif 17 years ago
Scott MacVicar 7a29c8f386 MFH Update fileinfo to libmagic 5.00 and remove dependency on dirent.h on Windows 17 years ago
Andrei Zmievski d7b6f0103b memset() requires a pointer. 17 years ago
Scott MacVicar 372256b002 MFH Remove all of the stuff we have in here for pre PHP 5.2 support and memset the fileinfo struct. 17 years ago
Derick Rethans 9d1eca8ee1 *** empty log message *** 17 years ago
Scott MacVicar ceabdbb483 MFH Add asprintf, use regular system malloc and free and add checks in configure.in for the functions 17 years ago
Scott MacVicar 3a93ef37c4 MFH Warnings from libmagic should be notices rather than sent to stderr, this fixes a test on Windows 17 years ago
Felipe Pena fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 17 years ago
Scott MacVicar a94ac5d436 MFH: Fix buffer overread in libmagic and sync a skipped change from 4.26 17 years ago
Felipe Pena 7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 17 years ago
Scott MacVicar 3e543f2464 MFH: Sync libmagic with 4.26 and add support for the new v6 magic file format 17 years ago
Felipe Pena df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 18 years ago
Scott MacVicar a8c8963bc0 MFH: Fix a stat on a null when the internal database is used. 18 years ago
Scott MacVicar a6ec097f68 MFH: When using the internal database and there is an error it could try free some invalid things. This was causing a bus error on ppc. 18 years ago
Scott MacVicar 55a965f793 MFH Fix bug #46331 - The internal magic db is const memory and segfaults when you try to do byte swapping 18 years ago
Pierre Joye 144527b190 - support for VC6 and some other platforms (before some other cleanup) 18 years ago
Ilia Alshanetsky 5a28412ad2 Removed dead-code 18 years ago
Derick Rethans bac72c6052 - MFH: Fixed mime-type generation. 18 years ago
Felipe Pena 516ac7e726 - MFH: Fixed bug #46071 (finfo_open() segfaults with wrong file name on BSD) 18 years ago
Antony Dovgal 02022c766c MFH: fix compile warning 18 years ago
Scott MacVicar 3940782c25 MFH: Fix memory leak in a few cases 18 years ago
Scott MacVicar b845244370 Missed variable declaration. 18 years ago
Scott MacVicar db907e5bc3 Fixed bug #46086 (Segfault when accessing fileinfo class property) 18 years ago
Felix De Vliegher 7251de9eb8 MFH: More fileinfo tests. 18 years ago
Antony Dovgal 8209f891a4 MFH 18 years ago
Ilia Alshanetsky a6860ce964 Removed unused variables 18 years ago
Felipe Pena 11319aa113 - New test 18 years ago
Felipe Pena 5b0e87618b - Silent valgrind 18 years ago
Pierre Joye ed4db08f69 - fix test (file or path not found) (Thanks Dmitry for the notice) 18 years ago
Pierre Joye c8a0c3b0f5 - don't close caller streams in libmagic (prevent leak and zombie stream) 18 years ago
Felipe Pena d13b704d25 - Fixed mime_content_type() behavior when a string is given 18 years ago
Pierre Joye 99041160df - use php's stream in libmagic 18 years ago
Felipe Pena 9566ebabcb - Fixed tests (Disable COMPRESS support for now) 18 years ago
Antony Dovgal fa978e8595 MFH: check for \0 to be consistent with other functions 18 years ago
Derick Rethans 057b2401bf - Disable COMPRESS support for now, as it requires forking. 18 years ago
Derick Rethans 4ca7e129a7 - MFH: Adding back in mime_content_type(). 18 years ago
Derick Rethans 6fbf14c544 - MFH: Some more cleanups, and fixed some warnings. 18 years ago
Antony Dovgal c7c4d96c73 fix invalid read 18 years ago
Felix De Vliegher ef8ae4dfc5 Some fileinfo tests 18 years ago
Antony Dovgal f6e15a25da fix ZTS build 18 years ago
Scott MacVicar 907c24fd81 Test for fileinfo to check mime types. 18 years ago
Scott MacVicar 4690692519 Replace ereg code with pcre, fix duplicate macro names and segfault. Patch by Mikko 18 years ago
Antony Dovgal 3bd40d9000 fix file check and avoid segfault 18 years ago