]> granicus.if.org Git - file/log
file
10 years agocheck the proper variable
Christos Zoulas [Tue, 9 Dec 2014 02:47:45 +0000 (02:47 +0000)]
check the proper variable

10 years agoand non-zero sizes.
Christos Zoulas [Tue, 9 Dec 2014 02:47:07 +0000 (02:47 +0000)]
and non-zero sizes.

10 years agoOnly trust sizes of regular files.
Christos Zoulas [Tue, 9 Dec 2014 02:46:38 +0000 (02:46 +0000)]
Only trust sizes of regular files.

10 years agofix netbsd core magic entries
Christos Zoulas [Mon, 8 Dec 2014 20:53:52 +0000 (20:53 +0000)]
fix netbsd core magic entries

10 years agourl for format
Christos Zoulas [Mon, 8 Dec 2014 16:06:19 +0000 (16:06 +0000)]
url for format

10 years agoadd bpg.
Christos Zoulas [Mon, 8 Dec 2014 16:05:47 +0000 (16:05 +0000)]
add bpg.

10 years agoWIN32 changes from Angelo Paolitto
Christos Zoulas [Thu, 4 Dec 2014 15:56:46 +0000 (15:56 +0000)]
WIN32 changes from Angelo Paolitto

10 years agoDon't bail if there was no error, buf could have been NULL on entry.
Christos Zoulas [Thu, 4 Dec 2014 15:22:05 +0000 (15:22 +0000)]
Don't bail if there was no error, buf could have been NULL on entry.

10 years agomagic Delta ISO magic
Christos Zoulas [Wed, 3 Dec 2014 18:02:52 +0000 (18:02 +0000)]
magic Delta ISO magic

10 years agoput the changes in the original file not the generated file.
Christos Zoulas [Mon, 1 Dec 2014 13:50:58 +0000 (13:50 +0000)]
put the changes in the original file not the generated file.

10 years agoPR/402: Christian Hesse: Add more ssh key types
Christos Zoulas [Mon, 1 Dec 2014 03:40:00 +0000 (03:40 +0000)]
PR/402: Christian Hesse: Add more ssh key types

10 years agoRemove name recursion limit, it is always lower than the count... Rename
Christos Zoulas [Fri, 28 Nov 2014 02:46:39 +0000 (02:46 +0000)]
Remove name recursion limit, it is always lower than the count... Rename
things for consistency.

10 years agoadd a limit to the number of times a name/use entries can be used.
Christos Zoulas [Fri, 28 Nov 2014 02:35:05 +0000 (02:35 +0000)]
add a limit to the number of times a name/use entries can be used.

10 years agoKill -R and replace with -P param=value. Allow setting of 4 parameters:
Christos Zoulas [Thu, 27 Nov 2014 23:42:58 +0000 (23:42 +0000)]
Kill -R and replace with -P param=value. Allow setting of 4 parameters:
    indir, name, shnum, phnum.

10 years agoDocument changes
Christos Zoulas [Thu, 27 Nov 2014 16:15:06 +0000 (16:15 +0000)]
Document changes

10 years agobump recursion to 15, and allow it to be set from the command line.
Christos Zoulas [Thu, 27 Nov 2014 15:40:36 +0000 (15:40 +0000)]
bump recursion to 15, and allow it to be set from the command line.

10 years agoadjust limits better (from NetBSD)
Christos Zoulas [Thu, 27 Nov 2014 15:16:00 +0000 (15:16 +0000)]
adjust limits better (from NetBSD)

10 years agoComplain if alignments are < 4 and repair.
Christos Zoulas [Wed, 26 Nov 2014 15:33:10 +0000 (15:33 +0000)]
Complain if alignments are < 4 and repair.

10 years agofix typos.
Christos Zoulas [Sun, 23 Nov 2014 21:36:16 +0000 (21:36 +0000)]
fix typos.

10 years agoMention all the performance fixes from yesterday and today.
Christos Zoulas [Sun, 23 Nov 2014 13:58:37 +0000 (13:58 +0000)]
Mention all the performance fixes from yesterday and today.

10 years ago- reduce recursion level from 20 to 10 and make a symbolic constant for it.
Christos Zoulas [Sun, 23 Nov 2014 13:54:27 +0000 (13:54 +0000)]
- reduce recursion level from 20 to 10 and make a symbolic constant for it.
- pull out the guts of saving and restoring the output buffer into functions
  and take care not to overwrite the error message if an error happened.

10 years agoStop reporting bad capabilities after the first few.
Christos Zoulas [Sat, 22 Nov 2014 23:57:44 +0000 (23:57 +0000)]
Stop reporting bad capabilities after the first few.

10 years ago- limit the number of program and section header number of sections to be
Christos Zoulas [Sat, 22 Nov 2014 16:04:29 +0000 (16:04 +0000)]
- limit the number of program and section header number of sections to be
  processed to avoid excessive processing time.
- if a bad note is found, return 0 to stop processing immediately.

10 years agoNew change
Christos Zoulas [Wed, 12 Nov 2014 15:29:12 +0000 (15:29 +0000)]
New change

10 years agoSimplify freeing of the map and remove bogus frees in the user buffer case.
Christos Zoulas [Wed, 12 Nov 2014 15:28:34 +0000 (15:28 +0000)]
Simplify freeing of the map and remove bogus frees in the user buffer case.

10 years agoDecode the type of the pgp packet.
Christos Zoulas [Tue, 11 Nov 2014 21:32:38 +0000 (21:32 +0000)]
Decode the type of the pgp packet.

10 years agoPR/396: Add sereal magic
Christos Zoulas [Tue, 11 Nov 2014 20:10:49 +0000 (20:10 +0000)]
PR/396: Add sereal magic

10 years agotoday's fixes.
Christos Zoulas [Tue, 11 Nov 2014 17:49:39 +0000 (17:49 +0000)]
today's fixes.

10 years agoPR/398: Correctly truncate pascal strings (fixes out of bounds read of 1, 2,
Christos Zoulas [Tue, 11 Nov 2014 17:48:23 +0000 (17:48 +0000)]
PR/398: Correctly truncate pascal strings (fixes out of bounds read of 1, 2,
or 4 bytes).

10 years agofix memory leak.
Christos Zoulas [Tue, 11 Nov 2014 17:46:05 +0000 (17:46 +0000)]
fix memory leak.

10 years agoRemove duplicates from Chris Renshaw
Christos Zoulas [Mon, 10 Nov 2014 05:08:23 +0000 (05:08 +0000)]
Remove duplicates from Chris Renshaw

10 years agoMake strings from files always printable.
Christos Zoulas [Fri, 7 Nov 2014 15:24:14 +0000 (15:24 +0000)]
Make strings from files always printable.

10 years agonew mlocate entry.
Christos Zoulas [Mon, 3 Nov 2014 21:03:36 +0000 (21:03 +0000)]
new mlocate entry.

10 years agoAlways add the map to the head of the list; this way we can always dependably
Christos Zoulas [Wed, 29 Oct 2014 14:41:32 +0000 (14:41 +0000)]
Always add the map to the head of the list; this way we can always dependably
free it with mlist_free().

10 years agoPR/394: Properly cleanup in new buffers function.
Christos Zoulas [Tue, 28 Oct 2014 22:25:17 +0000 (22:25 +0000)]
PR/394: Properly cleanup in new buffers function.

10 years agoPR/395: fix typo
Christos Zoulas [Tue, 28 Oct 2014 22:10:46 +0000 (22:10 +0000)]
PR/395: fix typo

10 years agoPR/395: Avoid infinite loop in oomem cleanup.
Christos Zoulas [Tue, 28 Oct 2014 22:09:57 +0000 (22:09 +0000)]
PR/395: Avoid infinite loop in oomem cleanup.

10 years agopatches from joerg jenderek to improve dbase detection
Christos Zoulas [Tue, 28 Oct 2014 15:47:39 +0000 (15:47 +0000)]
patches from joerg jenderek to improve dbase detection

10 years agoreturn NODATA in more cases and be more picky about children's exit codes.
Christos Zoulas [Sun, 26 Oct 2014 20:23:30 +0000 (20:23 +0000)]
return NODATA in more cases and be more picky about children's exit codes.

10 years agom4 files can be ALAC and AAC
Christos Zoulas [Thu, 23 Oct 2014 23:12:51 +0000 (23:12 +0000)]
m4 files can be ALAC and AAC

10 years agoprint something before the ', offset', and boost the strength so that it
Christos Zoulas [Thu, 23 Oct 2014 17:17:09 +0000 (17:17 +0000)]
print something before the ', offset', and boost the strength so that it
wins the standard DOS/MBR boot sector magic. XXX: this all needs to be
refactored

10 years agoDon't treat empty chains as an error (Guy Helmer)
Christos Zoulas [Wed, 22 Oct 2014 19:27:36 +0000 (19:27 +0000)]
Don't treat empty chains as an error (Guy Helmer)

10 years ago- remove old compatibility code that ended up printing nothing before
Christos Zoulas [Wed, 22 Oct 2014 19:16:30 +0000 (19:16 +0000)]
- remove old compatibility code that ended up printing nothing before
  '; partition'
- remove trailing tab in magic
- add partition entry printing for the NetBSD mbr

10 years agoPR/390: Jan Kaluza: Fix detection of iso9660 filesystems
Christos Zoulas [Wed, 22 Oct 2014 18:16:03 +0000 (18:16 +0000)]
PR/390: Jan Kaluza: Fix detection of iso9660 filesystems

10 years agoFix note bounds reading, Francisco Alonso / Red Hat
Christos Zoulas [Fri, 17 Oct 2014 15:49:00 +0000 (15:49 +0000)]
Fix note bounds reading, Francisco Alonso / Red Hat

10 years agoOn arm, chars are by default unsigned so force sign extension.
Christos Zoulas [Wed, 15 Oct 2014 12:39:21 +0000 (12:39 +0000)]
On arm, chars are by default unsigned so force sign extension.
http://git.php.net/?p=php-src.git;a=patch;h=e64da8c20df3ec28bd2417924b207b870e9ab99f

10 years agomore detailed crypto magic
Christos Zoulas [Tue, 14 Oct 2014 16:50:37 +0000 (16:50 +0000)]
more detailed crypto magic

10 years agoPR/388: According to POSIX we should not quote the destination of the symlink.
Christos Zoulas [Mon, 13 Oct 2014 20:21:49 +0000 (20:21 +0000)]
PR/388: According to POSIX we should not quote the destination of the symlink.

10 years agolocale autoconf fixes
Christos Zoulas [Sat, 11 Oct 2014 15:03:16 +0000 (15:03 +0000)]
locale autoconf fixes

10 years agowelcome to 5.20 FILE5_20
Christos Zoulas [Fri, 10 Oct 2014 18:57:51 +0000 (18:57 +0000)]
welcome to 5.20

10 years agomention that perl uses BEGIN {
Christos Zoulas [Sat, 27 Sep 2014 00:12:55 +0000 (00:12 +0000)]
mention that perl uses BEGIN {

10 years agoPR/383: Remove unicode BOM as suggested.
Christos Zoulas [Wed, 24 Sep 2014 19:52:46 +0000 (19:52 +0000)]
PR/383: Remove unicode BOM as suggested.

10 years agoPR/384: remove %z formats that break windows.
Christos Zoulas [Wed, 24 Sep 2014 19:49:07 +0000 (19:49 +0000)]
PR/384: remove %z formats that break windows.

10 years agoPR/383: make regex use \x and not the non-ascii characters.
Christos Zoulas [Tue, 23 Sep 2014 23:42:44 +0000 (23:42 +0000)]
PR/383: make regex use \x and not the non-ascii characters.

10 years agodecode more webp
Christos Zoulas [Tue, 23 Sep 2014 17:02:12 +0000 (17:02 +0000)]
decode more webp

10 years agodefine skeleton files as video.
Christos Zoulas [Tue, 23 Sep 2014 16:35:08 +0000 (16:35 +0000)]
define skeleton files as video.

10 years agoPR/382: add audio and video mime types as suggested by:
Christos Zoulas [Tue, 23 Sep 2014 12:57:41 +0000 (12:57 +0000)]
PR/382: add audio and video mime types as suggested by:
https://developer.mozilla.org/en-US/docs/Web/HTTP/\
    Configuring_servers_for_Ogg_media

10 years agoAdd JPEG-XR
Christos Zoulas [Mon, 22 Sep 2014 21:21:59 +0000 (21:21 +0000)]
Add JPEG-XR

10 years agoDon't abuse the const pointer we've been passed in, allocate memory instead.
Christos Zoulas [Mon, 22 Sep 2014 18:26:19 +0000 (18:26 +0000)]
Don't abuse the const pointer we've been passed in, allocate memory instead.
XXX: This is expensive.

10 years agonew entry
Christos Zoulas [Fri, 19 Sep 2014 19:05:57 +0000 (19:05 +0000)]
new entry

10 years agosync with NetBSD's tools.
Christos Zoulas [Tue, 16 Sep 2014 17:25:52 +0000 (17:25 +0000)]
sync with NetBSD's tools.

10 years agoDon't forget to NUL terminate if the last line did not have delim.
Christos Zoulas [Mon, 15 Sep 2014 23:24:01 +0000 (23:24 +0000)]
Don't forget to NUL terminate if the last line did not have delim.
From: Hubert Garavel

10 years agowe are not supposed to modify the file pointer.
Christos Zoulas [Mon, 15 Sep 2014 19:11:25 +0000 (19:11 +0000)]
we are not supposed to modify the file pointer.

10 years agomore Web/P fixes, remove dup entry from images
Christos Zoulas [Mon, 15 Sep 2014 15:10:42 +0000 (15:10 +0000)]
more Web/P fixes, remove dup entry from images

10 years agosymbolic photometric interpretation for tif
Christos Zoulas [Sat, 13 Sep 2014 20:17:14 +0000 (20:17 +0000)]
symbolic photometric interpretation for tif

10 years agomore details for tiff.
Christos Zoulas [Sat, 13 Sep 2014 19:46:47 +0000 (19:46 +0000)]
more details for tiff.

10 years agoadd mp4 mime for MOBI. Does that work?
Christos Zoulas [Sat, 13 Sep 2014 14:29:51 +0000 (14:29 +0000)]
add mp4 mime for MOBI. Does that work?

10 years agochange name per suggestion in the PR.
Christos Zoulas [Sat, 13 Sep 2014 14:27:12 +0000 (14:27 +0000)]
change name per suggestion in the PR.

10 years agoadd webp vp8
Christos Zoulas [Sat, 13 Sep 2014 14:04:21 +0000 (14:04 +0000)]
add webp vp8

10 years agofix transposition
Christos Zoulas [Fri, 12 Sep 2014 20:57:45 +0000 (20:57 +0000)]
fix transposition

10 years agouse recursion to traverse the jpeg markers
Christos Zoulas [Fri, 12 Sep 2014 20:47:00 +0000 (20:47 +0000)]
use recursion to traverse the jpeg markers

10 years agoPR/380: Add zlib support
Christos Zoulas [Fri, 12 Sep 2014 13:37:11 +0000 (13:37 +0000)]
PR/380: Add zlib support

10 years agoPR/379: Ville Skyttae: Add qpress support from
Christos Zoulas [Thu, 11 Sep 2014 15:23:40 +0000 (15:23 +0000)]
PR/379: Ville Skyttae: Add qpress support from

10 years agoPR/378: don't print stuff, breaks all MP3 files.
Christos Zoulas [Thu, 11 Sep 2014 15:09:34 +0000 (15:09 +0000)]
PR/378: don't print stuff, breaks all MP3 files.

10 years agoremove duplicate assignment.
Christos Zoulas [Thu, 11 Sep 2014 12:08:52 +0000 (12:08 +0000)]
remove duplicate assignment.

10 years agodon't use setlocale(3); it is not thread-safe.
Christos Zoulas [Wed, 10 Sep 2014 18:41:51 +0000 (18:41 +0000)]
don't use setlocale(3); it is not thread-safe.

10 years agoApple HFS changes from Joerg Jenderek
Christos Zoulas [Wed, 3 Sep 2014 13:34:16 +0000 (13:34 +0000)]
Apple HFS changes from Joerg Jenderek

10 years agoPR/372: Fix incorrect change made for PR/342: We should not increment
Christos Zoulas [Sat, 30 Aug 2014 15:30:11 +0000 (15:30 +0000)]
PR/372: Fix incorrect change made for PR/342: We should not increment
magindex, if it is not a continuation.

10 years agoadd more "ftyp"es.
Christos Zoulas [Sat, 30 Aug 2014 10:20:20 +0000 (10:20 +0000)]
add more "ftyp"es.

10 years agoBe more strict about extra string parsing, and always report errors.
Christos Zoulas [Sat, 30 Aug 2014 10:19:54 +0000 (10:19 +0000)]
Be more strict about extra string parsing, and always report errors.

10 years agoPR/376: Fix typos.
Christos Zoulas [Sat, 30 Aug 2014 08:34:17 +0000 (08:34 +0000)]
PR/376: Fix typos.

10 years agofix mime for cdf encryped files.
Christos Zoulas [Wed, 27 Aug 2014 13:00:37 +0000 (13:00 +0000)]
fix mime for cdf encryped files.

10 years agoadd encrypted cdf documents
Christos Zoulas [Wed, 27 Aug 2014 07:02:36 +0000 (07:02 +0000)]
add encrypted cdf documents

10 years agorecognize encrypted documents.
Christos Zoulas [Wed, 27 Aug 2014 06:59:35 +0000 (06:59 +0000)]
recognize encrypted documents.

10 years agonew gdb magic from Petr Gajdos
Christos Zoulas [Tue, 19 Aug 2014 14:18:04 +0000 (14:18 +0000)]
new gdb magic from Petr Gajdos

10 years agoremove duplicate level information
Christos Zoulas [Sun, 17 Aug 2014 13:48:16 +0000 (13:48 +0000)]
remove duplicate level information

10 years agoremove dup
Christos Zoulas [Sun, 17 Aug 2014 13:47:59 +0000 (13:47 +0000)]
remove dup

10 years agonew magic for RSX-11 filesystems.
Christos Zoulas [Sun, 17 Aug 2014 12:58:54 +0000 (12:58 +0000)]
new magic for RSX-11 filesystems.

10 years agofloppy related fixes from Joerg Jenderek
Christos Zoulas [Sat, 16 Aug 2014 16:07:12 +0000 (16:07 +0000)]
floppy related fixes from Joerg Jenderek

10 years ago- hack to make entry print something so that it is accepted; what should
Christos Zoulas [Sat, 16 Aug 2014 10:43:28 +0000 (10:43 +0000)]
- hack to make entry print something so that it is accepted; what should
  we do instead?
- fix overflowed constant
From Joerg Jenderek

10 years agoremove dup ghost (Joerg Jenderek)
Christos Zoulas [Sat, 16 Aug 2014 10:42:17 +0000 (10:42 +0000)]
remove dup ghost (Joerg Jenderek)

10 years agoISO fixes from Joerg Jenderek
Christos Zoulas [Fri, 8 Aug 2014 07:09:59 +0000 (07:09 +0000)]
ISO fixes from Joerg Jenderek

10 years agoPrevent wrap around (Remi Collet at redhat)
Christos Zoulas [Thu, 7 Aug 2014 09:38:35 +0000 (09:38 +0000)]
Prevent wrap around (Remi Collet at redhat)

10 years agoPR/360: Andreas Koehler: Escape regex properly.
Christos Zoulas [Tue, 5 Aug 2014 07:38:45 +0000 (07:38 +0000)]
PR/360: Andreas Koehler: Escape regex properly.

10 years agoPR/362: Bill: Fix incorrect JPEG SOFn parsing.
Christos Zoulas [Tue, 5 Aug 2014 07:32:31 +0000 (07:32 +0000)]
PR/362: Bill: Fix incorrect JPEG SOFn parsing.

10 years ago- fix so that apprentice succeeds
Christos Zoulas [Mon, 4 Aug 2014 06:48:22 +0000 (06:48 +0000)]
- fix so that apprentice succeeds
- simplify unneeded cast

10 years agoPR/364: Add GRIB data
Christos Zoulas [Mon, 4 Aug 2014 06:26:16 +0000 (06:26 +0000)]
PR/364: Add GRIB data

10 years agoPR/365: Jan Kaluza: Add support for glibc locale archives.
Christos Zoulas [Mon, 4 Aug 2014 06:21:30 +0000 (06:21 +0000)]
PR/365: Jan Kaluza: Add support for glibc locale archives.

10 years agoPR/367: Brooks Davis: Add magic_load_buffers to provide a means to load the
Christos Zoulas [Mon, 4 Aug 2014 06:19:44 +0000 (06:19 +0000)]
PR/367: Brooks Davis: Add magic_load_buffers to provide a means to load the
magic database on environments that have no direct access to the filesystem.

10 years agoPR/369: Matthieu CASTET: Add android sparse images.
Christos Zoulas [Mon, 4 Aug 2014 06:00:36 +0000 (06:00 +0000)]
PR/369: Matthieu CASTET: Add android sparse images.