Commit Graph

17 Commits

Author SHA1 Message Date
Derick Rethans
07633881bd - Some more cleanups, and fixed some warnings. 2008-08-29 12:05:35 +00:00
Antony Dovgal
914f8ceb09 fix invalid read
weird, the code uses correct order of checks just ten lines below
2008-08-29 10:53:07 +00:00
Antony Dovgal
2fbc38c67e fix ZTS build 2008-08-29 10:10:56 +00:00
Antony Dovgal
f6b3447c34 fix build 2008-08-29 10:08:30 +00:00
Scott MacVicar
83abc6c537 MFB: Replace ereg code with pcre, fix duplicate macro names and segfault. Patch by Mikko 2008-08-29 09:50:57 +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
Scott MacVicar
0b88f59125 get fileinfo building again on Windows 2008-07-31 00:32:25 +00:00
Derick Rethans
0192c570c8 - No C++ comments. 2008-07-25 08:18:34 +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
231bafaade we don't do fstat, hence st struct is uninitalized 2008-07-24 14:53:59 +00:00
Antony Dovgal
54e1d048cd silence compile warning 2008-07-24 14:45:53 +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
8c8b504bc4 - Bundle the data file - you can still use the external file if you
specify that in the call to finfo_open().
2008-07-24 13:40:21 +00:00
Jani Taskinen
f58f634618 - Enable bundled library 2008-07-11 14:49:45 +00:00
Derick Rethans
74947e562e - Move lib to libmagic 2008-07-11 14:13:50 +00:00