]>
granicus.if.org Git - file/log
Christos Zoulas [Fri, 21 Apr 2017 16:54:57 +0000 (16:54 +0000)]
- if we failed to get the offset at the current continuation level, reduce it.
- reset continuation level on flush
Found by oss-fuzz
Christos Zoulas [Wed, 12 Apr 2017 14:57:22 +0000 (14:57 +0000)]
Check read bounds for vector before reading. Found by oss-fuzz.
Christos Zoulas [Tue, 11 Apr 2017 14:59:28 +0000 (14:59 +0000)]
PR/606: Marcos Mayorga: Bump to beat c++ magic score
Christos Zoulas [Tue, 11 Apr 2017 14:52:15 +0000 (14:52 +0000)]
PR/607: add apache big data formats (Owen O'Malley)
Christos Zoulas [Sat, 8 Apr 2017 20:58:03 +0000 (20:58 +0000)]
don't copy the string past its length (oss-fuzz)
Christos Zoulas [Sat, 8 Apr 2017 20:38:46 +0000 (20:38 +0000)]
Don't try to read past the end of the properties, found by oss-fuzz
Christos Zoulas [Fri, 7 Apr 2017 20:10:24 +0000 (20:10 +0000)]
Work around glibc/regex/msan bug regexec returns 0 but does initialize pmatch.
Found by oss-fuzz.
Christos Zoulas [Fri, 7 Apr 2017 19:46:44 +0000 (19:46 +0000)]
move stdint.h endif higher.
Christos Zoulas [Fri, 7 Apr 2017 15:07:31 +0000 (15:07 +0000)]
limit memory usage more to satisfy oss-fuzz
Christos Zoulas [Thu, 6 Apr 2017 19:20:35 +0000 (19:20 +0000)]
If we could not read a field, set it to 0; found by oss-fuzz
Christos Zoulas [Tue, 4 Apr 2017 20:48:40 +0000 (20:48 +0000)]
retain python 2 compatibility, factoring out the conversion functions.
Christos Zoulas [Tue, 4 Apr 2017 20:34:24 +0000 (20:34 +0000)]
use explicit character cleasses instead of the shorthand \s \w which is
not supported by the BSD regex code.
Christos Zoulas [Sat, 1 Apr 2017 18:26:03 +0000 (18:26 +0000)]
PR/604: Add Sony XAVC info
Christos Zoulas [Wed, 29 Mar 2017 19:45:22 +0000 (19:45 +0000)]
Simplify the property info copy function and check for bounds.
Found by oss-fuzz.
Christos Zoulas [Wed, 29 Mar 2017 19:09:52 +0000 (19:09 +0000)]
Don't try to parse auxv vector notes for non-svr4 style core files.
Christos Zoulas [Wed, 29 Mar 2017 15:58:12 +0000 (15:58 +0000)]
Print more info about NetBSD core files.
Christos Zoulas [Wed, 29 Mar 2017 15:57:48 +0000 (15:57 +0000)]
Fix printf formats (use alternate form for %x).
Christos Zoulas [Tue, 28 Mar 2017 15:13:07 +0000 (15:13 +0000)]
free memory on error.
Christos Zoulas [Mon, 27 Mar 2017 21:34:32 +0000 (21:34 +0000)]
- Check the stream offset for sh.sh_len to fit within the stream.
- Fix wrong test (use o4 instead of slen for offset).
- Use left variable to keep track of how many bytes are left.
Christos Zoulas [Mon, 27 Mar 2017 20:58:11 +0000 (20:58 +0000)]
try to clean this up; the vector code is still fishy.
Christos Zoulas [Fri, 24 Mar 2017 19:29:26 +0000 (19:29 +0000)]
Add HAMMER support from Sascha Wildner
Christos Zoulas [Fri, 24 Mar 2017 15:31:32 +0000 (15:31 +0000)]
PR/602: check for a field terminator too.
Christos Zoulas [Thu, 23 Mar 2017 22:11:53 +0000 (22:11 +0000)]
Add trace files ( Mike Weiblen )
Christos Zoulas [Mon, 20 Mar 2017 19:51:15 +0000 (19:51 +0000)]
Add SeqBox
Christos Zoulas [Sat, 18 Mar 2017 00:33:46 +0000 (00:33 +0000)]
today's changes
Christos Zoulas [Fri, 17 Mar 2017 23:56:16 +0000 (23:56 +0000)]
Better fix for previous
Christos Zoulas [Fri, 17 Mar 2017 22:20:22 +0000 (22:20 +0000)]
need trailing spaces in places :-)
Christos Zoulas [Fri, 17 Mar 2017 21:35:28 +0000 (21:35 +0000)]
remove trailing whitespace
Christos Zoulas [Fri, 17 Mar 2017 20:45:01 +0000 (20:45 +0000)]
Although I can't reproduce it, oss-fuzz complains about is_tar. So rewrite
it to make it more obvious what's going on.
Christos Zoulas [Fri, 17 Mar 2017 19:50:22 +0000 (19:50 +0000)]
PR/599: Out of bounds read in cdf files.
Christos Zoulas [Fri, 17 Mar 2017 19:20:43 +0000 (19:20 +0000)]
more formats from Martin Mueller Skarbiniks Pedersen
Christos Zoulas [Sun, 12 Mar 2017 22:57:44 +0000 (22:57 +0000)]
Add webassembly
Christos Zoulas [Sun, 12 Mar 2017 22:08:51 +0000 (22:08 +0000)]
Fixes from Joerg Jenderek to recognize more msdos drivers.
Christos Zoulas [Thu, 9 Mar 2017 16:57:53 +0000 (16:57 +0000)]
use the correct buffer size; found by oss-fuzz
Christos Zoulas [Thu, 9 Mar 2017 16:57:17 +0000 (16:57 +0000)]
Explain what the fields hold.
Christos Zoulas [Wed, 8 Mar 2017 20:45:35 +0000 (20:45 +0000)]
prevent reading beyond our buffer when compacting whitespace (oss-fuzz)
Christos Zoulas [Tue, 7 Mar 2017 22:36:10 +0000 (22:36 +0000)]
PR/598: Off-by-one.
Christos Zoulas [Sat, 25 Feb 2017 18:54:07 +0000 (18:54 +0000)]
PR/596: Jason Hood: spello in comment.
Christos Zoulas [Tue, 21 Feb 2017 18:34:55 +0000 (18:34 +0000)]
bump perl to exceed 'c'
Christos Zoulas [Fri, 17 Feb 2017 17:34:43 +0000 (17:34 +0000)]
ignore files that start with '.'
Christos Zoulas [Tue, 14 Feb 2017 12:56:48 +0000 (12:56 +0000)]
keep "[not] stripped" last since some scripts expect it to be there.
Christos Zoulas [Sun, 12 Feb 2017 15:30:08 +0000 (15:30 +0000)]
Fix pascal string tod from sl.tom
Christos Zoulas [Sat, 11 Feb 2017 19:44:28 +0000 (19:44 +0000)]
Add ntfsclone from Mike Swanson
Christos Zoulas [Sat, 11 Feb 2017 18:12:03 +0000 (18:12 +0000)]
fix debug info reversed logic
Christos Zoulas [Fri, 10 Feb 2017 18:20:33 +0000 (18:20 +0000)]
fix cast
Christos Zoulas [Fri, 10 Feb 2017 18:19:34 +0000 (18:19 +0000)]
define __STDC_LIMIT_MACROS sooner
Christos Zoulas [Fri, 10 Feb 2017 18:14:01 +0000 (18:14 +0000)]
more cast stuff.
Christos Zoulas [Fri, 10 Feb 2017 17:25:14 +0000 (17:25 +0000)]
welcome to 5.30
Christos Zoulas [Fri, 10 Feb 2017 17:23:23 +0000 (17:23 +0000)]
recent changes
Christos Zoulas [Fri, 10 Feb 2017 17:16:03 +0000 (17:16 +0000)]
add a gpg step
Christos Zoulas [Fri, 10 Feb 2017 14:03:22 +0000 (14:03 +0000)]
more zip versions from Mike Swanson
Christos Zoulas [Wed, 8 Feb 2017 21:53:06 +0000 (21:53 +0000)]
Add IPS magic (Thomas Klausner)
Christos Zoulas [Wed, 8 Feb 2017 21:52:03 +0000 (21:52 +0000)]
fix typo "avalues" from Thomas Klausner.
Christos Zoulas [Tue, 7 Feb 2017 23:27:32 +0000 (23:27 +0000)]
If we exceeded the offset in a search don't break, return 0 (no match)
From Christoph Biedl
Christos Zoulas [Tue, 7 Feb 2017 23:25:26 +0000 (23:25 +0000)]
Improve flash detection (Christoph Biedl)
Christos Zoulas [Tue, 7 Feb 2017 23:21:29 +0000 (23:21 +0000)]
If we are reading a sector stream that is shorter than the minimum standard
stream size, but there is no short sector chain, adjust the dirlen.
Christos Zoulas [Sat, 4 Feb 2017 16:46:16 +0000 (16:46 +0000)]
use unsigned int shifts
Christos Zoulas [Wed, 1 Feb 2017 12:38:12 +0000 (12:38 +0000)]
PR/593: Clement Lecigne: Fix off-by-one
Christos Zoulas [Sun, 29 Jan 2017 19:34:24 +0000 (19:34 +0000)]
PR/591: Print if the file has debug info.
Christos Zoulas [Sun, 22 Jan 2017 22:02:15 +0000 (22:02 +0000)]
PR/589: David Korth: Add support for Wii U and 3DS Virtual Console NES ROM
images. Misc fixes.
Christos Zoulas [Sun, 22 Jan 2017 21:14:25 +0000 (21:14 +0000)]
PR/588: Add ECDSA magic
Christos Zoulas [Sun, 22 Jan 2017 21:13:13 +0000 (21:13 +0000)]
use 040 consistently
Christos Zoulas [Sat, 21 Jan 2017 16:07:14 +0000 (16:07 +0000)]
Fix x3d from Thomas Ledoux
Christos Zoulas [Wed, 18 Jan 2017 16:33:57 +0000 (16:33 +0000)]
PR/574: osm0sis: Handle android having zlib.h and no -lz.
Christos Zoulas [Wed, 18 Jan 2017 16:24:56 +0000 (16:24 +0000)]
PR/584: Timo Foerster: Add a mime type according to:
https://en.wikipedia.org/wiki/Encapsulated_PostScript
Christos Zoulas [Wed, 18 Jan 2017 16:16:21 +0000 (16:16 +0000)]
PR/585: Martin Reifer: OpenStreetMap header is not always 13 bytes long.
Christos Zoulas [Wed, 18 Jan 2017 16:08:25 +0000 (16:08 +0000)]
PR/586: Add missing section headers info message.
Christos Zoulas [Wed, 18 Jan 2017 14:59:19 +0000 (14:59 +0000)]
PR/587: Luc Gommans: Add OpenSSL files
Christos Zoulas [Tue, 3 Jan 2017 11:25:37 +0000 (11:25 +0000)]
More arm64 uboot stuff from Martin Michlmayr
Christos Zoulas [Tue, 3 Jan 2017 11:24:46 +0000 (11:24 +0000)]
minor nits from Abhinav Upadhyay
Christos Zoulas [Tue, 20 Dec 2016 22:44:32 +0000 (22:44 +0000)]
compute the search match length correctly (found by oss-fuzzer)
Christos Zoulas [Tue, 20 Dec 2016 13:29:20 +0000 (13:29 +0000)]
use CCAST, instead of __UNCONST
Christos Zoulas [Tue, 20 Dec 2016 12:19:25 +0000 (12:19 +0000)]
when the pattern search length is 0, search for the empty string instead
of the original string because the original string might not be NUL-terminated.
Found by oss-fuzzer.
Christos Zoulas [Tue, 20 Dec 2016 03:15:16 +0000 (03:15 +0000)]
make sure we don't exceed the array sie if nbytes is odd. Found by oss-fuzz
Christos Zoulas [Sat, 10 Dec 2016 14:21:29 +0000 (14:21 +0000)]
Escape the . and provide more text for BSD make (Joerg Jenderek)
Christos Zoulas [Fri, 2 Dec 2016 19:32:15 +0000 (19:32 +0000)]
overhaul with more detail from Joerg Jenderek, many thanks!
Christos Zoulas [Thu, 1 Dec 2016 16:44:47 +0000 (16:44 +0000)]
PR/583: Lukas Koldrt: Don't attempt to read 0 sized stream.
Christos Zoulas [Thu, 1 Dec 2016 16:20:13 +0000 (16:20 +0000)]
PR/580: Johannes Niediek: Bump PNG strength to beat DOS/MBR
Christos Zoulas [Thu, 1 Dec 2016 16:16:14 +0000 (16:16 +0000)]
PR/579: Andre: Avoid possible infinite recursion in out of memory from
*asprintf
Christos Zoulas [Thu, 1 Dec 2016 15:40:52 +0000 (15:40 +0000)]
PR/578: Roger H: Add SVG HTML file magic
Christos Zoulas [Thu, 1 Dec 2016 15:34:44 +0000 (15:34 +0000)]
PR/577: David Korth: This patch adds detection for the following GameCube
disc image formats:
- CISO (not the same as the existing CISO detection or PSP CISO;
the existing CISO rule has been updated to not detect GCNo
or PSP CISO formats)
- GCZ (Dolphin gzip-compressed images)
- WDF
- WIA
This patch also adds detection for Nintendo amiibo NFC dumps.
The 64-bit amiibo ID, which uniquely identifies the character
and amiibo type, is displayed.
Christos Zoulas [Thu, 1 Dec 2016 15:30:33 +0000 (15:30 +0000)]
PR/576: Rin Okuyama: Fix endianness info of PCF fonts
Christos Zoulas [Fri, 25 Nov 2016 01:54:24 +0000 (01:54 +0000)]
Limit targa more, otherwise it picks up things like:
help_relation.frm: MySQL table definition file Version 9, type MYISAM, MySQL version 50146
Christos Zoulas [Wed, 9 Nov 2016 18:20:53 +0000 (18:20 +0000)]
Split SPIR into GPU
Christos Zoulas [Tue, 8 Nov 2016 23:52:10 +0000 (23:52 +0000)]
Harden magic to fix regression:
An old WordPerfect4 files got mis-detected as :
"DOS 2.0 backed up file \313\300, split file, sequence 266"
(Christoph Biedl)
Christos Zoulas [Tue, 8 Nov 2016 02:58:21 +0000 (02:58 +0000)]
Khronos SPIR-V file and Lytro Light Field Picture magic from Mike Weiblen
Christos Zoulas [Mon, 7 Nov 2016 15:52:42 +0000 (15:52 +0000)]
Today's changes
Christos Zoulas [Mon, 7 Nov 2016 15:51:23 +0000 (15:51 +0000)]
Fix error checking in the simple case (one digit length) of der magic.
(Jonas Wagner)
Christos Zoulas [Mon, 7 Nov 2016 15:37:29 +0000 (15:37 +0000)]
Add msdos backup entries (Christoph Biedl)
Christos Zoulas [Mon, 7 Nov 2016 15:36:56 +0000 (15:36 +0000)]
Allow @ in extension
Christos Zoulas [Wed, 2 Nov 2016 23:06:32 +0000 (23:06 +0000)]
More bit rates from Ubuntu via Christoph Biedl
https://xiph.org/flac/format.html#def_STREAMINFO
Christos Zoulas [Tue, 1 Nov 2016 14:40:18 +0000 (14:40 +0000)]
put the actual version in the ChangeLog
Christos Zoulas [Mon, 31 Oct 2016 21:12:49 +0000 (21:12 +0000)]
PR/534: jeffrey: Fix msx wrong continuation level
Christos Zoulas [Sun, 30 Oct 2016 00:38:01 +0000 (00:38 +0000)]
new yara magic from Christoph Biedl
Christos Zoulas [Sun, 30 Oct 2016 00:36:27 +0000 (00:36 +0000)]
better old office document detection (Christoph Biedl)
Christos Zoulas [Tue, 25 Oct 2016 20:37:40 +0000 (20:37 +0000)]
fix joined line
Christos Zoulas [Tue, 25 Oct 2016 20:33:30 +0000 (20:33 +0000)]
Sync with file.man describing the location and format of magic files.
Christos Zoulas [Tue, 25 Oct 2016 14:40:04 +0000 (14:40 +0000)]
welcome to 5.29
Christos Zoulas [Mon, 24 Oct 2016 18:02:17 +0000 (18:02 +0000)]
more c++ casts
Christos Zoulas [Mon, 24 Oct 2016 15:22:28 +0000 (15:22 +0000)]
More bug fixes.