Mikko Koppanen
24af48e402
Upgrade bundled libmagic to 5.03 (fixes CDF parsing related issues)
...
Clean up / remove whitespace differences to make next merge easier
Removed unnecessary files from trunk
2009-12-26 15:00:21 +00:00
Scott MacVicar
dae424147c
Update libmagic to 5.02
2009-05-04 20:52:43 +00:00
Scott MacVicar
daf4211e0b
Update fileinfo to libmagic 5.00 and remove dependency on dirent.h on Windows
2009-03-15 23:02:35 +00:00
Scott MacVicar
ca77d8ae31
Fix buffer overread in libmagic and sync a skipped change from 4.26
2008-11-06 02:58:14 +00:00
Felipe Pena
ac3ae236ec
- MFB:
...
- use php's stream in libmagic
- remove duplicate code (like mime_content_type() compatibility function
now use the same base as finfo_file())
- make it portable (works now on windows too, belongs other OSes)
- 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)
2008-09-07 20:29:54 +00:00
Derick Rethans
07633881bd
- Some more cleanups, and fixed some warnings.
2008-08-29 12:05:35 +00:00
Felipe Pena
4eaaf7be83
- Fixed crash in file_error_core()
2008-08-27 00:16:11 +00:00
Ilia Alshanetsky
caa3217c68
MFB:
...
Upgraded the lib to use PHP memory allocation routines.
Fixed a crash caused by analysis of DEADJOE files
A little bit of CS inside libmagic
2008-08-26 12:24:12 +00:00
Antony Dovgal
6dca1deb52
fix compilation on AIX
2008-08-10 19:48:48 +00:00
Derick Rethans
1371ec3fbf
- Fixed size calculation.
...
- Reverted cosmetic fixes that makes upgrading harder.
2008-07-25 08:16:03 +00:00
Antony Dovgal
29bb0c9dd3
drop freeing of uninitialized variable
...
add missing return
nuke unused variable
2008-07-24 14:30:58 +00:00
Derick Rethans
74947e562e
- Move lib to libmagic
2008-07-11 14:13:50 +00:00