]>
granicus.if.org Git - file/log
Christos Zoulas [Thu, 29 Oct 2015 19:23:42 +0000 (19:23 +0000)]
PR/489: Avoid evaluating things twice.
Christos Zoulas [Thu, 29 Oct 2015 18:52:16 +0000 (18:52 +0000)]
PR/491: Magic for PFR0
Christos Zoulas [Thu, 29 Oct 2015 18:49:11 +0000 (18:49 +0000)]
Document that this is for PR/490.
Christos Zoulas [Thu, 29 Oct 2015 18:45:05 +0000 (18:45 +0000)]
bump things so we beat html
Christos Zoulas [Tue, 27 Oct 2015 23:24:33 +0000 (23:24 +0000)]
c32 fixes from Joerg Jenderek
Christos Zoulas [Mon, 26 Oct 2015 19:57:01 +0000 (19:57 +0000)]
Audio Garmin files (Joerg Jenderek)
Christos Zoulas [Sat, 24 Oct 2015 15:32:58 +0000 (15:32 +0000)]
add extensions for dicom (Joerg Jenderek)
Christos Zoulas [Fri, 16 Oct 2015 15:11:07 +0000 (15:11 +0000)]
From Christoph Biedl:
The bad news first: Detection of WordPerfect/Corel is quite broken due
to forgotten endianess clarification, and has probably been ever since.
On LE archs, nothing but "(Corel/WP)" is printed.
Time for a clarification and cleanup. Basically, there's a product
(Offset 8) and file type (Offset 9) short, and little information about
their meanings. So I took the old logik and placed it in logical
groups, with some questions about PlanPerfect raised. Perhaps there was
an off-by-one when creating the data? Also, the "loadable file" and
"graphic image" fit into the scheme, no need for extra rules.
There were a few hints in the wp2x sources, and the LibreOffice has
a few sample files in the sources. Not all of them are detected, these
have a completely different header (very old format?).
Christos Zoulas [Thu, 15 Oct 2015 21:51:22 +0000 (21:51 +0000)]
add flags
Christos Zoulas [Thu, 15 Oct 2015 20:56:51 +0000 (20:56 +0000)]
fix multi-arch printing for 2
Christos Zoulas [Thu, 15 Oct 2015 16:54:01 +0000 (16:54 +0000)]
add haswell, fix arm7s
Christos Zoulas [Thu, 15 Oct 2015 15:42:17 +0000 (15:42 +0000)]
add more arm info
Christos Zoulas [Sat, 10 Oct 2015 15:37:44 +0000 (15:37 +0000)]
PR/484: add google chrome magic (Ville Skytta)
Christos Zoulas [Sat, 10 Oct 2015 15:36:32 +0000 (15:36 +0000)]
PR/482, PR/483, Ville Skytta remove duplicate xar magic and add mime to it
Christos Zoulas [Fri, 9 Oct 2015 14:38:47 +0000 (14:38 +0000)]
Return the offset not size, so that we can process more notes. Noted by
Jan Kaluza.
Christos Zoulas [Wed, 7 Oct 2015 02:37:57 +0000 (02:37 +0000)]
add > (Christoph Biedl)
Christos Zoulas [Wed, 7 Oct 2015 02:36:50 +0000 (02:36 +0000)]
remove dup words (Jakub Wilk)
Christos Zoulas [Fri, 2 Oct 2015 18:36:54 +0000 (18:36 +0000)]
Add fingerprint data
Christos Zoulas [Wed, 30 Sep 2015 20:32:35 +0000 (20:32 +0000)]
centralize coff magic by Joerg Jenderek.
Christos Zoulas [Wed, 30 Sep 2015 18:33:35 +0000 (18:33 +0000)]
url for rar
Christos Zoulas [Wed, 30 Sep 2015 18:32:46 +0000 (18:32 +0000)]
rar improvements (Christoph Biedl)
Christos Zoulas [Wed, 30 Sep 2015 14:02:06 +0000 (14:02 +0000)]
PR/480: print (default) in the right place depending on POSIXLY_CORRECT
Christos Zoulas [Wed, 30 Sep 2015 13:44:38 +0000 (13:44 +0000)]
PR/481: Add mime for rar v5
Christos Zoulas [Mon, 28 Sep 2015 14:51:01 +0000 (14:51 +0000)]
Refactor RAR, add v5 for it from Christoph Biedl
Christos Zoulas [Sun, 27 Sep 2015 05:40:08 +0000 (05:40 +0000)]
disambiguate NTFS and db magic by adding a blocksize test. Add mime
and extension. From Joerg Jenderek
Christos Zoulas [Wed, 23 Sep 2015 16:03:03 +0000 (16:03 +0000)]
Add windows tape format from Joerg Jenderek
Christos Zoulas [Tue, 22 Sep 2015 15:40:32 +0000 (15:40 +0000)]
Fix --mime-encoding without --mime-type (Christoph Biedl)
printf '\x00\xff' | file --mime-encoding -
Christos Zoulas [Mon, 21 Sep 2015 21:12:43 +0000 (21:12 +0000)]
more info for Garmin images from Joerg Jenderek
Christos Zoulas [Thu, 17 Sep 2015 01:14:09 +0000 (01:14 +0000)]
remove unused variables
Christos Zoulas [Thu, 17 Sep 2015 01:10:51 +0000 (01:10 +0000)]
Make the default case print something sane for each of the different styles:
apple, mime, encoding, default. Before it just printed data which is confusing.
Christos Zoulas [Thu, 17 Sep 2015 01:10:00 +0000 (01:10 +0000)]
Move the annotation code back and add similar code to the mime code that
checks if there is a string to be printed and skips otherwise.
Christos Zoulas [Wed, 16 Sep 2015 22:52:54 +0000 (22:52 +0000)]
drop the count of digits allowed.
Christos Zoulas [Wed, 16 Sep 2015 22:37:05 +0000 (22:37 +0000)]
remove over-zealous, and fix test properly.
Christos Zoulas [Wed, 16 Sep 2015 22:19:54 +0000 (22:19 +0000)]
bump more...
Christos Zoulas [Wed, 16 Sep 2015 22:17:12 +0000 (22:17 +0000)]
annotations are attached to the first description entry, print them then.
Christos Zoulas [Wed, 16 Sep 2015 18:34:21 +0000 (18:34 +0000)]
this will happen on systems that don't have mmap(2). Typically
MALLOC type entries happen during regular parsing or compilation
and are allocated in coalesce_entries(). But they will also occur
when QUICK is not defined (i.e. when the target system does not
have mmap(2)).
Christos Zoulas [Wed, 16 Sep 2015 18:25:23 +0000 (18:25 +0000)]
PR/479: Protect against 0-divide and offset out of bounds reads.
Christos Zoulas [Wed, 16 Sep 2015 18:21:26 +0000 (18:21 +0000)]
PR/479: check the format length modifiers.
Christos Zoulas [Wed, 16 Sep 2015 13:51:55 +0000 (13:51 +0000)]
welcome to 5.25
Christos Zoulas [Wed, 16 Sep 2015 13:49:33 +0000 (13:49 +0000)]
new magic from joerg jenderek
Christos Zoulas [Sat, 12 Sep 2015 18:10:42 +0000 (18:10 +0000)]
PR/474: be more careful about updating string positions:
1. if the numeric conversion failed, don't move the string pointer.
2. on escape parse failure restore the string position
Christos Zoulas [Fri, 11 Sep 2015 18:53:10 +0000 (18:53 +0000)]
works better if the change is in the original not the generated file.
Christos Zoulas [Fri, 11 Sep 2015 17:24:09 +0000 (17:24 +0000)]
PR/474: Add a limit to the size of regex searches to prevent performance
issues.
Christos Zoulas [Thu, 10 Sep 2015 14:39:55 +0000 (14:39 +0000)]
PR/475: Fix past end of buffer read.
Christos Zoulas [Thu, 10 Sep 2015 13:59:47 +0000 (13:59 +0000)]
don't leak memory when loading non-compiled files.
Christos Zoulas [Thu, 10 Sep 2015 13:59:32 +0000 (13:59 +0000)]
fix sign-compare error.
Christos Zoulas [Thu, 10 Sep 2015 13:32:19 +0000 (13:32 +0000)]
Always print the method we are trying in debug mode.
Christos Zoulas [Wed, 9 Sep 2015 16:26:54 +0000 (16:26 +0000)]
PR/472: minix: correct v3 identification, and remove zones from v2
Christos Zoulas [Wed, 9 Sep 2015 16:25:29 +0000 (16:25 +0000)]
PR/476: Add hopper magic
Christos Zoulas [Tue, 8 Sep 2015 13:59:44 +0000 (13:59 +0000)]
bump the strength so that we beat the generic script magic
Christos Zoulas [Tue, 8 Sep 2015 13:48:44 +0000 (13:48 +0000)]
Add missing 'e'
Christos Zoulas [Tue, 8 Sep 2015 13:48:28 +0000 (13:48 +0000)]
Document fixes for --parameter issues
Christos Zoulas [Tue, 8 Sep 2015 13:46:49 +0000 (13:46 +0000)]
apply parameters before unwrapping() the list of files (Christoph Biedl)
Christos Zoulas [Tue, 8 Sep 2015 13:46:01 +0000 (13:46 +0000)]
--parameter takes a parameter (Christoph Biedl)
Christos Zoulas [Mon, 7 Sep 2015 10:03:21 +0000 (10:03 +0000)]
magic patches from David Griffith
Christos Zoulas [Sun, 30 Aug 2015 14:16:33 +0000 (14:16 +0000)]
fix comments about byte sizes; Christoph Biedl
Christos Zoulas [Sat, 29 Aug 2015 07:10:35 +0000 (07:10 +0000)]
add missing 'x' and quoted spaces in magic (Christoph Biedl)
Christos Zoulas [Fri, 28 Aug 2015 08:32:51 +0000 (08:32 +0000)]
bump elf max phnum to 2048 since core dumps can have many entries if
the binaries that produce them depend on many shared libraries
Christos Zoulas [Tue, 25 Aug 2015 07:34:06 +0000 (07:34 +0000)]
Add more patterns for Makefiles:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181436
Christos Zoulas [Mon, 24 Aug 2015 05:20:52 +0000 (05:20 +0000)]
clarify AOL images: https://bugs.debian.org/681304
Christos Zoulas [Mon, 24 Aug 2015 05:18:55 +0000 (05:18 +0000)]
New magic for LXT: https://bugs.debian.org/647412
Christos Zoulas [Mon, 24 Aug 2015 05:17:42 +0000 (05:17 +0000)]
New magic for Commodore raw tape files: https://bugs.debian.org/699777
Christos Zoulas [Mon, 24 Aug 2015 05:16:11 +0000 (05:16 +0000)]
New magic for Linux Software RAID: https://bugs.debian.org/663454
Christos Zoulas [Mon, 24 Aug 2015 05:11:10 +0000 (05:11 +0000)]
improve btrfs magic: https://bugs.debian.org/663454
Christos Zoulas [Mon, 24 Aug 2015 05:08:48 +0000 (05:08 +0000)]
make htmlhelp files more general: https://bugs.debian.org/653911
Christos Zoulas [Mon, 10 Aug 2015 05:18:27 +0000 (05:18 +0000)]
Add ttbin format files.
Christos Zoulas [Mon, 27 Jul 2015 15:41:09 +0000 (15:41 +0000)]
PR/467: force binary magic for zlib
Christos Zoulas [Mon, 27 Jul 2015 15:24:00 +0000 (15:24 +0000)]
PR/468: decrease the strength of windows short magic so that HFS magic
works
Christos Zoulas [Mon, 27 Jul 2015 14:33:10 +0000 (14:33 +0000)]
PR/469: make c++ template code more restricted by including <> (Jan Kaluza)
Christos Zoulas [Mon, 27 Jul 2015 09:12:32 +0000 (09:12 +0000)]
PR/470: Fix undefined behaviors.
Christos Zoulas [Mon, 27 Jul 2015 09:08:10 +0000 (09:08 +0000)]
centralize the byte swapping code.
Christos Zoulas [Thu, 16 Jul 2015 14:28:57 +0000 (14:28 +0000)]
Fix printing of dates (Jan Kaluza)
Christos Zoulas [Sat, 11 Jul 2015 15:08:53 +0000 (15:08 +0000)]
PR/188: Remove binary xml pattern.
Print the version for XHTML
Christos Zoulas [Sat, 11 Jul 2015 14:41:37 +0000 (14:41 +0000)]
PR/466: Windows fixes.
Christos Zoulas [Sat, 11 Jul 2015 14:40:10 +0000 (14:40 +0000)]
since this is a used by all NetPBM images, don't call it PPM.
Christos Zoulas [Thu, 9 Jul 2015 15:23:04 +0000 (15:23 +0000)]
fix garmin result
Christos Zoulas [Thu, 9 Jul 2015 15:16:41 +0000 (15:16 +0000)]
add a URL with the info
Christos Zoulas [Thu, 9 Jul 2015 15:13:51 +0000 (15:13 +0000)]
fix garmin map offset.
Christos Zoulas [Thu, 9 Jul 2015 14:38:59 +0000 (14:38 +0000)]
bump version
Christos Zoulas [Thu, 9 Jul 2015 14:38:22 +0000 (14:38 +0000)]
Start the 5.24 release
Christos Zoulas [Thu, 2 Jul 2015 18:25:57 +0000 (18:25 +0000)]
handle newer versions of zope (stephane blondon)
Christos Zoulas [Mon, 29 Jun 2015 14:44:26 +0000 (14:44 +0000)]
add new twoskip cyrus db file.
Christos Zoulas [Wed, 17 Jun 2015 19:55:27 +0000 (19:55 +0000)]
PR/462: Add text to fortran magic
Christos Zoulas [Tue, 16 Jun 2015 17:23:08 +0000 (17:23 +0000)]
PR/461: Add new MIPS ISAs.
While there, factor out magic
Christos Zoulas [Tue, 16 Jun 2015 14:18:07 +0000 (14:18 +0000)]
PR/460: Detect and avoid large (invalid) malloc in elf parser.
Christos Zoulas [Tue, 16 Jun 2015 14:17:37 +0000 (14:17 +0000)]
print a space between previous messages and error.
Christos Zoulas [Thu, 11 Jun 2015 12:53:26 +0000 (12:53 +0000)]
fix bug with 5.23 long options
Christos Zoulas [Thu, 11 Jun 2015 12:52:32 +0000 (12:52 +0000)]
Fix bug with long options and explicitly number them to avoid this in
the future.
Christos Zoulas [Wed, 10 Jun 2015 17:51:37 +0000 (17:51 +0000)]
Prepare for 5.23
Christos Zoulas [Wed, 10 Jun 2015 00:57:41 +0000 (00:57 +0000)]
PR/459: Don't let invalid magic entries go through with warnings because
later the softmagic entry would need a lot of sanity checks which it does
not have.
Christos Zoulas [Tue, 9 Jun 2015 22:17:52 +0000 (22:17 +0000)]
- bytecnt needs to be adjusted by offset
- always return true from mget() regardless if match() matched. Fixes
mime printing where we stopped matching the use magic because match
return 0, since if (print) *returnval = 1; did not execute for mime.
Christos Zoulas [Thu, 4 Jun 2015 19:16:55 +0000 (19:16 +0000)]
PR/458: Provide special version for env bash like we do with python.
Christos Zoulas [Thu, 4 Jun 2015 19:16:28 +0000 (19:16 +0000)]
Fix utf-7 bugs
Christos Zoulas [Wed, 3 Jun 2015 19:51:27 +0000 (19:51 +0000)]
PR/456, use utf-7 charset in mime printing for utf-7 files.
Christos Zoulas [Wed, 3 Jun 2015 18:21:24 +0000 (18:21 +0000)]
PR/455: Add feature to report only on contents of compressed data, not the
compression itself.
Christos Zoulas [Wed, 3 Jun 2015 18:01:20 +0000 (18:01 +0000)]
PR/454: Fix memory corruption when the continuation level jumps by more than
20 in a single step.
Christos Zoulas [Wed, 3 Jun 2015 17:51:12 +0000 (17:51 +0000)]
what versions of libtool and autoconf we've been using recently.
Christos Zoulas [Fri, 29 May 2015 14:28:39 +0000 (14:28 +0000)]
mention MAGIC_CONTINUE fix.
Christos Zoulas [Fri, 29 May 2015 14:27:31 +0000 (14:27 +0000)]
Fix TODO's
Christos Zoulas [Fri, 29 May 2015 14:21:58 +0000 (14:21 +0000)]
PR/449: Limit matching of mach-o multi-architecture magic