]> granicus.if.org Git - file/log
file
5 years agoFix device handling on --apple (Christoph Biedl)
Christos Zoulas [Tue, 16 Jul 2019 13:30:32 +0000 (13:30 +0000)]
Fix device handling on --apple (Christoph Biedl)

5 years agoImprove detection of gdos fonts from Joerg Jenderek, still commented out.
Christos Zoulas [Tue, 16 Jul 2019 11:11:31 +0000 (11:11 +0000)]
Improve detection of gdos fonts from Joerg Jenderek, still commented out.

5 years agodocument that -S now is a no-op on systems that don't support it and fix a typo.
Christos Zoulas [Sat, 13 Jul 2019 16:26:48 +0000 (16:26 +0000)]
document that -S now is a no-op on systems that don't support it and fix a typo.

5 years agoalways support the --no-sandbox option.
Christos Zoulas [Sat, 13 Jul 2019 16:23:58 +0000 (16:23 +0000)]
always support the --no-sandbox option.

5 years agoAdd Android cryptfs footer magic (v3l0c1r4pt0r)
Christos Zoulas [Sun, 7 Jul 2019 22:39:36 +0000 (22:39 +0000)]
Add Android cryptfs footer magic (v3l0c1r4pt0r)

5 years agoBetter support for BMP files (Joerg Jenderek)
Christos Zoulas [Sat, 6 Jul 2019 19:49:00 +0000 (19:49 +0000)]
Better support for BMP files (Joerg Jenderek)

5 years agodisable GEM GDOS fonts for now, needs to be stronger.
Christos Zoulas [Sat, 6 Jul 2019 19:31:36 +0000 (19:31 +0000)]
disable GEM GDOS fonts for now, needs to be stronger.

5 years agoDon't print the string entry unless the zip entry matched (Christoph Biedl)
Christos Zoulas [Sat, 6 Jul 2019 19:25:06 +0000 (19:25 +0000)]
Don't print the string entry unless the zip entry matched (Christoph Biedl)

5 years agofix extra space
Christos Zoulas [Fri, 5 Jul 2019 19:24:39 +0000 (19:24 +0000)]
fix extra space

5 years agonew test from Andrew Childs
Christos Zoulas [Fri, 5 Jul 2019 19:21:18 +0000 (19:21 +0000)]
new test from Andrew Childs

5 years agoBeat GEMDOS files (see new unit test "cl8m8ocofedso"), and reformat for
Christos Zoulas [Fri, 5 Jul 2019 19:20:38 +0000 (19:20 +0000)]
Beat GEMDOS files (see new unit test "cl8m8ocofedso"), and reformat for
brevity.

5 years agoAdd RISC-V to uboot (Andreas Schwab)
Christos Zoulas [Thu, 4 Jul 2019 14:02:41 +0000 (14:02 +0000)]
Add RISC-V to uboot (Andreas Schwab)

5 years ago"dib" BMP image support (Joerg Jenderek)
Christos Zoulas [Wed, 3 Jul 2019 15:37:08 +0000 (15:37 +0000)]
"dib" BMP image support (Joerg Jenderek)

5 years agoAdd umask(2) (from Shankara Pailoor)
Christos Zoulas [Wed, 3 Jul 2019 15:33:20 +0000 (15:33 +0000)]
Add umask(2) (from Shankara Pailoor)

5 years agoSupport for OS/2v2 bitmap files (Joerg Jenderek)
Christos Zoulas [Sun, 30 Jun 2019 21:37:40 +0000 (21:37 +0000)]
Support for OS/2v2 bitmap files (Joerg Jenderek)

5 years agoRecognize Adobe BMP images (Joerg Jenderek)
Christos Zoulas [Sat, 29 Jun 2019 22:34:22 +0000 (22:34 +0000)]
Recognize Adobe BMP images (Joerg Jenderek)

5 years agoWe now support negative level 0 offsets (from the end of the file), so this
Christos Zoulas [Sat, 29 Jun 2019 22:31:04 +0000 (22:31 +0000)]
We now support negative level 0 offsets (from the end of the file), so this
code will not be re-enabled (petk)

5 years agoRemove AC_C_CONST (petk)
Christos Zoulas [Sat, 29 Jun 2019 22:29:03 +0000 (22:29 +0000)]
Remove AC_C_CONST (petk)

5 years agoLimit the CSV test to text files and say so...
Christos Zoulas [Wed, 26 Jun 2019 20:31:31 +0000 (20:31 +0000)]
Limit the CSV test to text files and say so...

5 years agoMove the Icon MS Window data to OS/2 Bitmap array and expand on it
Christos Zoulas [Mon, 24 Jun 2019 23:56:24 +0000 (23:56 +0000)]
Move the Icon MS Window data to OS/2 Bitmap array and expand on it
(Joerg Jenderek)

5 years agoAdd OS/2 pointer images (Joerg Jenderek)
Christos Zoulas [Mon, 24 Jun 2019 23:50:11 +0000 (23:50 +0000)]
Add OS/2 pointer images (Joerg Jenderek)

5 years agoDon't allow lines with no fields before or after the number of fields has
Christos Zoulas [Mon, 24 Jun 2019 23:40:03 +0000 (23:40 +0000)]
Don't allow lines with no fields before or after the number of fields has
been set.

5 years agoincrement nl when we don't have CSV_LINES
Christos Zoulas [Mon, 24 Jun 2019 20:07:36 +0000 (20:07 +0000)]
increment nl when we don't have CSV_LINES
require that we have > 0 fields for CSV

5 years agoUpdate RMAIL (Joerg Jenderek)
Christos Zoulas [Fri, 21 Jun 2019 20:06:05 +0000 (20:06 +0000)]
Update RMAIL (Joerg Jenderek)

5 years agoAllow only the ioctls we use (Shankara Pailoor)
Christos Zoulas [Fri, 21 Jun 2019 16:44:23 +0000 (16:44 +0000)]
Allow only the ioctls we use (Shankara Pailoor)

5 years agoBetter OS/2 icon detection (Joerg Jenderek)
Christos Zoulas [Wed, 19 Jun 2019 15:19:09 +0000 (15:19 +0000)]
Better OS/2 icon detection (Joerg Jenderek)

5 years agore-enable the ICO image code, it is a bit stronger now (Joerg Jenderek)
Christos Zoulas [Sun, 16 Jun 2019 14:59:35 +0000 (14:59 +0000)]
re-enable the ICO image code, it is a bit stronger now (Joerg Jenderek)
XXX: perhaps not strong enough...

5 years agoPR/86: Make BINK a bit stronger and support v2
Christos Zoulas [Sun, 16 Jun 2019 00:15:32 +0000 (00:15 +0000)]
PR/86: Make BINK a bit stronger and support v2

5 years agomake the dbase entry stricter so that it has less chance misidentifying
Christos Zoulas [Fri, 14 Jun 2019 20:12:00 +0000 (20:12 +0000)]
make the dbase entry stricter so that it has less chance misidentifying
xbase memo files (Joerg Jenderek)

5 years agoremove junk
Christos Zoulas [Thu, 13 Jun 2019 11:45:44 +0000 (11:45 +0000)]
remove junk

5 years agoHelp older parsers.
Christos Zoulas [Mon, 10 Jun 2019 22:52:31 +0000 (22:52 +0000)]
Help older parsers.

5 years agoSet buffer to NULL to prevent double free (Kamil Dudka at redhat)
Christos Zoulas [Mon, 10 Jun 2019 21:35:26 +0000 (21:35 +0000)]
Set buffer to NULL to prevent double free (Kamil Dudka at redhat)

5 years agoAdd a simple CSV detector
Christos Zoulas [Sat, 8 Jun 2019 22:16:57 +0000 (22:16 +0000)]
Add a simple CSV detector

5 years agoPR/85: Add a simple CSV detector
Christos Zoulas [Sat, 8 Jun 2019 22:16:24 +0000 (22:16 +0000)]
PR/85: Add a simple CSV detector

5 years agonew pmem magic (from marcinslusarz)
Christos Zoulas [Sat, 8 Jun 2019 20:53:32 +0000 (20:53 +0000)]
new pmem magic (from marcinslusarz)

5 years agotwo new pcap types (from fxlb)
Christos Zoulas [Sat, 8 Jun 2019 20:50:51 +0000 (20:50 +0000)]
two new pcap types (from fxlb)

5 years agoremove redundant memory.h (from petk)
Christos Zoulas [Sat, 8 Jun 2019 20:49:14 +0000 (20:49 +0000)]
remove redundant memory.h (from petk)

5 years agoadd as a comment where this information was found
Christos Zoulas [Sat, 8 Jun 2019 12:17:45 +0000 (12:17 +0000)]
add as a comment where this information was found

5 years agoRecognize non-recovery LOKI android images and tell the difference between
Christos Zoulas [Thu, 6 Jun 2019 19:18:16 +0000 (19:18 +0000)]
Recognize non-recovery LOKI android images and tell the difference between
boot and recovery images. (Kevin Mark)

5 years agoAdd forth magic from Lubomir Rintel
Christos Zoulas [Thu, 6 Jun 2019 19:14:20 +0000 (19:14 +0000)]
Add forth magic from Lubomir Rintel

5 years agoMore detailed magic for early versions of Microsoft Word and Write.
Christos Zoulas [Sun, 2 Jun 2019 15:25:40 +0000 (15:25 +0000)]
More detailed magic for early versions of Microsoft Word and Write.
From Joerg Jenderek

5 years agoAdd some more bittorent patterns from Christian Biere in the NetBSD gnats
Christos Zoulas [Wed, 29 May 2019 02:03:02 +0000 (02:03 +0000)]
Add some more bittorent patterns from Christian Biere in the NetBSD gnats

5 years agoPR/82: David Korth: Added a check for ICE-compressed SNDH audio files.
Christos Zoulas [Mon, 27 May 2019 01:34:02 +0000 (01:34 +0000)]
PR/82: David Korth: Added a check for ICE-compressed SNDH audio files.

5 years agoPR/82: David Korth: Added Xbox 360 packages.
Christos Zoulas [Mon, 27 May 2019 01:33:32 +0000 (01:33 +0000)]
PR/82: David Korth: Added Xbox 360 packages.

5 years agoPR/82: David Korth: Added Xbox 360 XEX1 executables. (early devkits)
Christos Zoulas [Mon, 27 May 2019 01:32:41 +0000 (01:32 +0000)]
PR/82: David Korth: Added Xbox 360 XEX1 executables. (early devkits)

5 years agoPR/82: David Korth: Split XEX region code into its own rule; display
Christos Zoulas [Mon, 27 May 2019 01:32:08 +0000 (01:32 +0000)]
PR/82: David Korth: Split XEX region code into its own rule; display
the 32-bit media ID.

5 years agoPR/82: David Korth: VGM: Added YMZ284 and YMZ294 variants for AY-3-8910.
Christos Zoulas [Mon, 27 May 2019 01:31:07 +0000 (01:31 +0000)]
PR/82: David Korth: VGM: Added YMZ284 and YMZ294 variants for AY-3-8910.

5 years agoPR/82: GerbilSoft: Added MIME types and file extensions for XBE and XEX
Christos Zoulas [Mon, 27 May 2019 01:30:28 +0000 (01:30 +0000)]
PR/82: GerbilSoft: Added MIME types and file extensions for XBE and XEX

5 years agoPr/79: cisba: new opentimestamps magic
Christos Zoulas [Mon, 27 May 2019 01:27:31 +0000 (01:27 +0000)]
Pr/79: cisba: new opentimestamps magic

5 years agoHandle Apple Diskcopy Images (Joerg Jenderek)
Christos Zoulas [Sun, 26 May 2019 20:10:13 +0000 (20:10 +0000)]
Handle Apple Diskcopy Images (Joerg Jenderek)

5 years agoRecognize pre OLE2 (CDF) Microsoft Word files (Joerg Jenderek)
Christos Zoulas [Fri, 24 May 2019 17:17:31 +0000 (17:17 +0000)]
Recognize pre OLE2 (CDF) Microsoft Word files (Joerg Jenderek)

5 years agoRevert https changes that were part of the magic string (Rico Elm)
Christos Zoulas [Tue, 21 May 2019 04:50:10 +0000 (04:50 +0000)]
Revert https changes that were part of the magic string (Rico Elm)

5 years agoNew SOSI magic from Petter Reinholdtsen
Christos Zoulas [Mon, 20 May 2019 17:25:09 +0000 (17:25 +0000)]
New SOSI magic from Petter Reinholdtsen

5 years agoWelcome to file-5.37 FILE5_37
Christos Zoulas [Fri, 17 May 2019 02:27:26 +0000 (02:27 +0000)]
Welcome to file-5.37

5 years agoadd cast for C++ build.
Christos Zoulas [Fri, 17 May 2019 02:24:59 +0000 (02:24 +0000)]
add cast for C++ build.

5 years agonew changes
Christos Zoulas [Thu, 9 May 2019 19:19:34 +0000 (19:19 +0000)]
new changes

5 years agoArrange to print separators if we keep going.
Christos Zoulas [Thu, 9 May 2019 18:58:57 +0000 (18:58 +0000)]
Arrange to print separators if we keep going.

5 years agobump strength to beat "zip"
Christos Zoulas [Thu, 9 May 2019 18:58:02 +0000 (18:58 +0000)]
bump strength to beat "zip"

5 years agoAdd numpy, sort. from tobbez
Christos Zoulas [Thu, 9 May 2019 16:24:36 +0000 (16:24 +0000)]
Add numpy, sort. from tobbez

5 years agoPR/78: jpcima: Improve BambooTracker magic
Christos Zoulas [Wed, 8 May 2019 18:02:45 +0000 (18:02 +0000)]
PR/78: jpcima: Improve BambooTracker magic

5 years agoDocument recent changes.
Christos Zoulas [Tue, 7 May 2019 02:29:04 +0000 (02:29 +0000)]
Document recent changes.

5 years agoFrom: Denys Vlasenko
Christos Zoulas [Tue, 7 May 2019 02:27:11 +0000 (02:27 +0000)]
From: Denys Vlasenko

Reduce amount of stat(2) calls when processing elf files;
propagate fstat result deeper into callees.

5 years agoFrom: Denys Vlasenko
Christos Zoulas [Tue, 7 May 2019 02:20:27 +0000 (02:20 +0000)]
From: Denys Vlasenko

Use sigaction(2) to save and restore SIGPIPE instead of signal(3)
because signal(3) does not have reliable semantics with respect to
SA_RESTART across all platforms: The original BSD semantics are to
always set SA_RESTART whereas the "new" BSD semantics were to keep
what siginterrupt(2) did.

And two missed optimizations:
= The saving/restoring of SIGPIPE is done even if file turns out
  to be *not* compressed, and no decompressor is called.
= If old signal was already SIG_IGN, no need to restore it.

This causes, for example, ~160000 unnecessary calls
to rt_sigaction() when rpmbuild generates kernel rpms.

Finally we can't share the old and new sigaction pointer because
of the "restrict" semantics.

5 years agoMention new fixes
Christos Zoulas [Mon, 6 May 2019 21:24:36 +0000 (21:24 +0000)]
Mention new fixes

5 years agoPR/77: Handle continuations properly in ascmagic when printing mime.
Christos Zoulas [Mon, 6 May 2019 21:23:38 +0000 (21:23 +0000)]
PR/77: Handle continuations properly in ascmagic when printing mime.

5 years ago- remove commented out lines
Christos Zoulas [Mon, 6 May 2019 21:22:40 +0000 (21:22 +0000)]
- remove commented out lines
- use the new file_separator

5 years ago- Add a file_separator function that prints the separator.
Christos Zoulas [Mon, 6 May 2019 21:22:13 +0000 (21:22 +0000)]
- Add a file_separator function that prints the separator.
- Don't append a separator after ascmagic since this is the last test.

5 years agomention new fix
Christos Zoulas [Sun, 5 May 2019 19:27:20 +0000 (19:27 +0000)]
mention new fix

5 years agoFrom Denys Vlasenko:
Christos Zoulas [Sun, 5 May 2019 19:25:23 +0000 (19:25 +0000)]
From Denys Vlasenko:

Tools such as rpmdiff and rpmbuild call libmagic from processes
with large mapped virtual sizes (gigabytes). In this case,
vfork is much faster than fork (sometimes x100 faster).

5 years agoFrom Denys Vlasenko:
Christos Zoulas [Sun, 5 May 2019 19:22:36 +0000 (19:22 +0000)]
From Denys Vlasenko:

This makes more clear what fds are closed when, when you read
caller function code.

This is a preparation to not clobber fdp[] in the child, so that
we can switch to using vfork() in a later patch.

Add ///BUG comments:
(*) we wait() in writechild, thus, if write() in writing child blocks
waiting for decompressor to consume data, and decompressor blocks waiting
ofr _us_ to read its data, we would deadlock.
(*) we can't know that the child we spawned is the only running child
of the process. We should use waitpid() to wait specifically for
the child we need.

Will fix in patch 4.

5 years agoFrom Denys Vlasenko:
Christos Zoulas [Sun, 5 May 2019 19:20:23 +0000 (19:20 +0000)]
From Denys Vlasenko:

Use this more readable idiom:

    pid = fork();
    if (error) die;
    if (child) { /* child */ ...; exit; }
    /* parent */

This gets rid of error path sitting right in the middle of normal paths,
gets rid of /*NOTREACHED*/'s,
and allows (usually large) parent code path to be less indented.

5 years agonew pcap type from fxlb
Christos Zoulas [Sun, 5 May 2019 17:03:41 +0000 (17:03 +0000)]
new pcap type from fxlb

5 years agoAdd GemDOS fonts (Joerg Jenderek)
Christos Zoulas [Sun, 5 May 2019 16:44:04 +0000 (16:44 +0000)]
Add GemDOS fonts (Joerg Jenderek)

5 years agoAdd "Windows System Deployment Image" from Joerg Jenderek
Christos Zoulas [Wed, 1 May 2019 17:55:25 +0000 (17:55 +0000)]
Add "Windows System Deployment Image" from Joerg Jenderek

5 years agomore garmin map detection from Joerg Jenderek
Christos Zoulas [Tue, 30 Apr 2019 04:02:04 +0000 (04:02 +0000)]
more garmin map detection from Joerg Jenderek

5 years agoone more https
Christos Zoulas [Tue, 30 Apr 2019 04:01:40 +0000 (04:01 +0000)]
one more https

5 years agoAlthough we are doing the right autoconf magic, MAJOR_IN_SYSMACROS is not
Christos Zoulas [Tue, 23 Apr 2019 18:59:27 +0000 (18:59 +0000)]
Although we are doing the right autoconf magic, MAJOR_IN_SYSMACROS is not
defined, so we include it anyways if it exists in order to avoid warnings.

5 years agoimprove ntfs filesystem detection (Joerg Jenderek)
Christos Zoulas [Tue, 23 Apr 2019 15:43:27 +0000 (15:43 +0000)]
improve ntfs filesystem detection (Joerg Jenderek)

6 years agouse https where supported (Daniel Kahn Gillmor)
Christos Zoulas [Fri, 19 Apr 2019 00:42:27 +0000 (00:42 +0000)]
use https where supported (Daniel Kahn Gillmor)

6 years agoAdd rpmsg (rights protected messages) from Daniel Kahn Gillmore
Christos Zoulas [Fri, 19 Apr 2019 00:40:47 +0000 (00:40 +0000)]
Add rpmsg (rights protected messages) from Daniel Kahn Gillmore

6 years agoimprove gzip detection (extensions) Joerg Jenderek
Christos Zoulas [Fri, 19 Apr 2019 00:35:18 +0000 (00:35 +0000)]
improve gzip detection (extensions) Joerg Jenderek

6 years agoCID 337782: Consistently return -1 if file_printf() fails.
Christos Zoulas [Mon, 15 Apr 2019 16:49:53 +0000 (16:49 +0000)]
CID 337782: Consistently return -1 if file_printf() fails.

6 years agoCID 337783: Avoid passing -1 to read
Christos Zoulas [Mon, 15 Apr 2019 16:49:29 +0000 (16:49 +0000)]
CID 337783: Avoid passing -1 to read

6 years agoCID 337784: cast to clarify sign extension
Christos Zoulas [Mon, 15 Apr 2019 16:48:41 +0000 (16:48 +0000)]
CID 337784: cast to clarify sign extension

6 years agofix --enable-zlib again
Christos Zoulas [Thu, 11 Apr 2019 11:52:26 +0000 (11:52 +0000)]
fix --enable-zlib again

6 years agoPR/73: enkeli: Require the actual central directory record, not just the
Christos Zoulas [Tue, 9 Apr 2019 18:34:15 +0000 (18:34 +0000)]
PR/73: enkeli: Require the actual central directory record, not just the
end of central directory for zip.

6 years agoPR/76: mohd-akram: Fix python 3.7 magic
Christos Zoulas [Tue, 9 Apr 2019 18:28:25 +0000 (18:28 +0000)]
PR/76: mohd-akram: Fix python 3.7 magic

6 years agoXBMC/KODI additions from Joerg Jenderek
Christos Zoulas [Mon, 8 Apr 2019 05:56:48 +0000 (05:56 +0000)]
XBMC/KODI additions from Joerg Jenderek

6 years agoPR/72: tduffy: change non-ascii text in comment
Christos Zoulas [Sun, 7 Apr 2019 18:26:17 +0000 (18:26 +0000)]
PR/72: tduffy: change non-ascii text in comment

6 years agoPR/75: wylda: --enable-zlib doesn't
Christos Zoulas [Sun, 7 Apr 2019 18:04:58 +0000 (18:04 +0000)]
PR/75: wylda: --enable-zlib doesn't

6 years agoFIx compilation
Christos Zoulas [Wed, 3 Apr 2019 11:34:01 +0000 (11:34 +0000)]
FIx compilation

6 years agoxar improvements from joerg jenderek
Christos Zoulas [Sat, 30 Mar 2019 02:08:03 +0000 (02:08 +0000)]
xar improvements from joerg jenderek

6 years agoremove strtoul check (petk)
Christos Zoulas [Thu, 28 Mar 2019 20:54:57 +0000 (20:54 +0000)]
remove strtoul check (petk)

6 years agoremove setlocale check (petk)
Christos Zoulas [Thu, 28 Mar 2019 20:54:03 +0000 (20:54 +0000)]
remove setlocale check (petk)

6 years agoremove strerror check (petk)
Christos Zoulas [Thu, 28 Mar 2019 20:52:43 +0000 (20:52 +0000)]
remove strerror check (petk)

6 years agoAdd edid detection from Mubashshir
Christos Zoulas [Thu, 28 Mar 2019 12:36:01 +0000 (12:36 +0000)]
Add edid detection from Mubashshir

6 years agoDon't call fmtcheck if we don't have any formatting chars.
Christos Zoulas [Tue, 26 Mar 2019 12:46:35 +0000 (12:46 +0000)]
Don't call fmtcheck if we don't have any formatting chars.

6 years agomove WIM from msdos to windows and improve it (Joerg Jenderek)
Christos Zoulas [Wed, 13 Mar 2019 02:57:20 +0000 (02:57 +0000)]
move WIM from msdos to windows and improve it (Joerg Jenderek)

6 years agoAdd more extensions (Joerg Jenderek)
Christos Zoulas [Wed, 13 Mar 2019 02:55:07 +0000 (02:55 +0000)]
Add more extensions (Joerg Jenderek)

6 years agocleanup __arraycount
Christos Zoulas [Tue, 12 Mar 2019 20:43:05 +0000 (20:43 +0000)]
cleanup __arraycount