]> granicus.if.org Git - file/log
file
9 years agoPR/434: Update some console audio files
Christos Zoulas [Sun, 15 Mar 2015 23:21:42 +0000 (23:21 +0000)]
PR/434: Update some console audio files

9 years agoRestrict patterns so that <script-file> for example does not match
Christos Zoulas [Wed, 11 Mar 2015 19:38:04 +0000 (19:38 +0000)]
Restrict patterns so that <script-file> for example does not match

9 years agobump XZ like we did for gz
Christos Zoulas [Wed, 11 Mar 2015 19:27:35 +0000 (19:27 +0000)]
bump XZ like we did for gz

9 years agoFix thumbs parsing (wrong offsets, skip first entry, pack)
Christos Zoulas [Sat, 28 Feb 2015 00:18:02 +0000 (00:18 +0000)]
Fix thumbs parsing (wrong offsets, skip first entry, pack)

9 years agomake debugging code compile again
Christos Zoulas [Fri, 27 Feb 2015 21:16:55 +0000 (21:16 +0000)]
make debugging code compile again

9 years ago0 is not an error
Christos Zoulas [Fri, 27 Feb 2015 21:16:38 +0000 (21:16 +0000)]
0 is not an error

9 years agoPR/429: Bernd Nuernberger: Add variations to GEM raster images
Christos Zoulas [Sun, 22 Feb 2015 01:26:05 +0000 (01:26 +0000)]
PR/429: Bernd Nuernberger: Add variations to GEM raster images

9 years agoPR/430: Jan Kaluza: Add support for Hybrid ISO's
Christos Zoulas [Sun, 22 Feb 2015 01:22:54 +0000 (01:22 +0000)]
PR/430: Jan Kaluza: Add support for Hybrid ISO's

9 years agoadd signing step; more to come.
Christos Zoulas [Sun, 15 Feb 2015 22:10:33 +0000 (22:10 +0000)]
add signing step; more to come.

9 years agoDon't hardcode the +10 offset in the source.
Christos Zoulas [Sat, 14 Feb 2015 18:43:12 +0000 (18:43 +0000)]
Don't hardcode the +10 offset in the source.

9 years agoDon't hard-code the 10 offset of ID in the source
Christos Zoulas [Sat, 14 Feb 2015 18:42:48 +0000 (18:42 +0000)]
Don't hard-code the 10 offset of ID in the source

9 years agoPR/304: Relax perl anchored search.
Christos Zoulas [Sat, 14 Feb 2015 17:53:29 +0000 (17:53 +0000)]
PR/304: Relax perl anchored search.

9 years agoPR/425: Bernd Nuernberger: Add Brooktrout fax
Christos Zoulas [Sat, 14 Feb 2015 17:35:47 +0000 (17:35 +0000)]
PR/425: Bernd Nuernberger: Add Brooktrout fax

9 years agoPR/247: Add mime type for Web/P and remove the commented out entry in images
Christos Zoulas [Sat, 14 Feb 2015 17:30:03 +0000 (17:30 +0000)]
PR/247: Add mime type for Web/P and remove the commented out entry in images

9 years agoBump buffer size
Christos Zoulas [Sat, 14 Feb 2015 17:24:30 +0000 (17:24 +0000)]
Bump buffer size

9 years agobump buffer space for file.
Christos Zoulas [Sat, 14 Feb 2015 17:19:29 +0000 (17:19 +0000)]
bump buffer space for file.

9 years agoPR/424: Grégory Starck: Remove duplicate break
Christos Zoulas [Mon, 9 Feb 2015 20:15:50 +0000 (20:15 +0000)]
PR/424: Grégory Starck: Remove duplicate break

9 years agoAdd the lineno in the strength printing.
Christos Zoulas [Fri, 6 Feb 2015 17:08:58 +0000 (17:08 +0000)]
Add the lineno in the strength printing.

9 years agobump jpeg to beat DOS/MBR
Christos Zoulas [Fri, 6 Feb 2015 17:08:31 +0000 (17:08 +0000)]
bump jpeg to beat DOS/MBR

9 years agoPR/396: Add more magic from the supplied file in the PR (Jan Kaluza)
Christos Zoulas [Thu, 5 Feb 2015 19:14:45 +0000 (19:14 +0000)]
PR/396: Add more magic from the supplied file in the PR (Jan Kaluza)

9 years agoPR/422: Add java 1.7 and 1.8 magic (Jan Kaluza)
Christos Zoulas [Thu, 5 Feb 2015 19:04:03 +0000 (19:04 +0000)]
PR/422: Add java 1.7 and 1.8 magic (Jan Kaluza)

10 years agoPR/417: Add CBOR files
Christos Zoulas [Wed, 28 Jan 2015 01:05:21 +0000 (01:05 +0000)]
PR/417: Add CBOR files

10 years agoremove stray line
Christos Zoulas [Sun, 25 Jan 2015 16:20:46 +0000 (16:20 +0000)]
remove stray line

10 years agoPR/416: coledot: Include vertical tab in ascii sequences.
Christos Zoulas [Sat, 24 Jan 2015 23:22:25 +0000 (23:22 +0000)]
PR/416: coledot: Include vertical tab in ascii sequences.

10 years agomerge and fix netpbm
Christos Zoulas [Sat, 24 Jan 2015 22:45:46 +0000 (22:45 +0000)]
merge and fix netpbm

10 years agolimit bytecnt
Christos Zoulas [Sat, 24 Jan 2015 22:11:25 +0000 (22:11 +0000)]
limit bytecnt

10 years agoadd lz4 bookmarks from wiz
Christos Zoulas [Sat, 24 Jan 2015 15:48:42 +0000 (15:48 +0000)]
add lz4 bookmarks from wiz

10 years agoperhaps add a search? added leading \n
Christos Zoulas [Sun, 11 Jan 2015 18:19:18 +0000 (18:19 +0000)]
perhaps add a search? added leading \n

10 years agoreturn error on not finding stream.
Christos Zoulas [Sun, 11 Jan 2015 17:00:23 +0000 (17:00 +0000)]
return error on not finding stream.

10 years agoFactor out finding CDF files by directory names. Add quickbooks
Christos Zoulas [Sun, 11 Jan 2015 16:58:25 +0000 (16:58 +0000)]
Factor out finding CDF files by directory names. Add quickbooks

10 years agotime related changes
Christos Zoulas [Fri, 9 Jan 2015 19:29:06 +0000 (19:29 +0000)]
time related changes

10 years agomore functions we supply
Christos Zoulas [Fri, 9 Jan 2015 19:28:57 +0000 (19:28 +0000)]
more functions we supply

10 years ago- stop doing time gymnastics for daylight savings.
Christos Zoulas [Fri, 9 Jan 2015 19:28:32 +0000 (19:28 +0000)]
- stop doing time gymnastics for daylight savings.
- use the _r functions for struct tm retrieval

10 years ago- always do arithmetic on dates
Christos Zoulas [Fri, 9 Jan 2015 19:27:41 +0000 (19:27 +0000)]
- always do arithmetic on dates
- fix T_LOCAL reversed logic

10 years agoadd clear and default.
Christos Zoulas [Tue, 6 Jan 2015 02:06:35 +0000 (02:06 +0000)]
add clear and default.

10 years agopass the original 64 bit value to the cdf_ converted to avoid truncation.
Christos Zoulas [Tue, 6 Jan 2015 02:04:10 +0000 (02:04 +0000)]
pass the original 64 bit value to the cdf_ converted to avoid truncation.
(from Christoph Biedl)

10 years agofix endianness (Christoph Biedl)
Christos Zoulas [Tue, 6 Jan 2015 01:58:09 +0000 (01:58 +0000)]
fix endianness (Christoph Biedl)

10 years agoFix:
Christos Zoulas [Mon, 5 Jan 2015 20:21:30 +0000 (20:21 +0000)]
Fix:
perl -e 'print "\x0" x 8, "bad", "\x0" x 1013, "H+", "\x0" x 6, "good"' | ./file
printing bad...
Reset the continuation offset. From Christoph Biedl

10 years agohandle line terminators better.
Christos Zoulas [Mon, 5 Jan 2015 20:05:39 +0000 (20:05 +0000)]
handle line terminators better.

10 years agomake sure we leave everything initialized.
Christos Zoulas [Mon, 5 Jan 2015 18:09:40 +0000 (18:09 +0000)]
make sure we leave everything initialized.

10 years agoPR/411: Fix memory corruption from corrupt? thumbs file
Christos Zoulas [Mon, 5 Jan 2015 18:00:36 +0000 (18:00 +0000)]
PR/411: Fix memory corruption from corrupt? thumbs file

10 years agofix shortcut code.
Christos Zoulas [Mon, 5 Jan 2015 00:17:13 +0000 (00:17 +0000)]
fix shortcut code.

10 years agosearch and regex don't copy stuff to value.
Christos Zoulas [Mon, 5 Jan 2015 00:16:01 +0000 (00:16 +0000)]
search and regex don't copy stuff to value.

10 years agoExplain recursion better and avoid double recursion in the masked entries
Christos Zoulas [Fri, 2 Jan 2015 22:40:27 +0000 (22:40 +0000)]
Explain recursion better and avoid double recursion in the masked entries

10 years agoBug + portability fixes from the NetBSD build.
Christos Zoulas [Fri, 2 Jan 2015 21:29:39 +0000 (21:29 +0000)]
Bug + portability fixes from the NetBSD build.

10 years agowelcome to 5.22 FILE5_22
Christos Zoulas [Fri, 2 Jan 2015 20:23:04 +0000 (20:23 +0000)]
welcome to 5.22

10 years agoadd a commented out debugging stanza
Christos Zoulas [Fri, 2 Jan 2015 16:56:50 +0000 (16:56 +0000)]
add a commented out debugging stanza

10 years agodon't depend on the existance of data to recurse.
Christos Zoulas [Fri, 2 Jan 2015 02:36:35 +0000 (02:36 +0000)]
don't depend on the existance of data to recurse.

10 years agoPut back stricter checks for DOS/MBR partition:
Christos Zoulas [Thu, 1 Jan 2015 17:43:47 +0000 (17:43 +0000)]
Put back stricter checks for DOS/MBR partition:
https://bugs.debian.org/774219

10 years agoAdd indirect relative offsets; make Exif use them. All other indirect magic
Christos Zoulas [Thu, 1 Jan 2015 17:07:34 +0000 (17:07 +0000)]
Add indirect relative offsets; make Exif use them. All other indirect magic
is absolute by default.

10 years agorelative from 0 offset is a NOP
Christos Zoulas [Thu, 1 Jan 2015 17:07:00 +0000 (17:07 +0000)]
relative from 0 offset is a NOP

10 years agouse indirect to parse the Exif data, which is really TIFF.
Christos Zoulas [Thu, 1 Jan 2015 04:17:41 +0000 (04:17 +0000)]
use indirect to parse the Exif data, which is really TIFF.

10 years agomore tags, and don't use indirect offsets.
Christos Zoulas [Thu, 1 Jan 2015 04:16:51 +0000 (04:16 +0000)]
more tags, and don't use indirect offsets.

10 years agoindirect offsets should be relative to the beginning of the current magic.
Christos Zoulas [Thu, 1 Jan 2015 04:12:23 +0000 (04:12 +0000)]
indirect offsets should be relative to the beginning of the current magic.

10 years agofix continuation level
Christos Zoulas [Thu, 1 Jan 2015 02:58:53 +0000 (02:58 +0000)]
fix continuation level

10 years agoadd more tags
Christos Zoulas [Thu, 1 Jan 2015 02:58:07 +0000 (02:58 +0000)]
add more tags
XXX: Indirect string offsets are probably wrong.

10 years agouse the tiff parser for exif
Christos Zoulas [Thu, 1 Jan 2015 02:57:40 +0000 (02:57 +0000)]
use the tiff parser for exif

10 years agoFix big-endian tiff images.
Christos Zoulas [Thu, 18 Dec 2014 21:56:58 +0000 (21:56 +0000)]
Fix big-endian tiff images.

10 years agoPR/230: make getline() public. file.c uses it.
Christos Zoulas [Thu, 18 Dec 2014 19:34:41 +0000 (19:34 +0000)]
PR/230: make getline() public. file.c uses it.

10 years agoLimit string printing to 100 chars, and add flags I forgot in the previous
Christos Zoulas [Tue, 16 Dec 2014 23:29:42 +0000 (23:29 +0000)]
Limit string printing to 100 chars, and add flags I forgot in the previous
commit.

10 years ago- Add a limit to the number of ELF notes processed (Suggested by Alexander
Christos Zoulas [Tue, 16 Dec 2014 23:18:40 +0000 (23:18 +0000)]
- Add a limit to the number of ELF notes processed (Suggested by Alexander
  Cherepanov)
- Restructure ELF note printing so that we don't print the same message
  multiple times on repeated notes of the same kind.

10 years ago2 more bugs.
Christos Zoulas [Tue, 16 Dec 2014 20:54:13 +0000 (20:54 +0000)]
2 more bugs.

10 years agoBail out on partial reads, from Alexander Cherepanov
Christos Zoulas [Tue, 16 Dec 2014 20:53:05 +0000 (20:53 +0000)]
Bail out on partial reads, from Alexander Cherepanov

10 years agoFix incorrect bounds check, from Alexander Cherepanov
Christos Zoulas [Tue, 16 Dec 2014 20:52:49 +0000 (20:52 +0000)]
Fix incorrect bounds check, from Alexander Cherepanov

10 years agorelax the binary resource checks. The example file has qres\0\0\0\1
Christos Zoulas [Tue, 16 Dec 2014 19:49:29 +0000 (19:49 +0000)]
relax the binary resource checks. The example file has qres\0\0\0\1

10 years agoAdd CVE info from git.
Christos Zoulas [Tue, 16 Dec 2014 16:08:28 +0000 (16:08 +0000)]
Add CVE info from git.

10 years agoPR/407: Add Qt magic
Christos Zoulas [Fri, 12 Dec 2014 16:48:39 +0000 (16:48 +0000)]
PR/407: Add Qt magic

10 years agoPR/405: Ignore exit code from uncompress programs because some (validly)
Christos Zoulas [Fri, 12 Dec 2014 16:33:01 +0000 (16:33 +0000)]
PR/405: Ignore exit code from uncompress programs because some (validly)
exit with non-zero code when they get SIGPIPE.

10 years agohandle more empty interpreters.
Christos Zoulas [Thu, 11 Dec 2014 14:19:36 +0000 (14:19 +0000)]
handle more empty interpreters.

10 years agoprint empty if we could not read the interpreter.
Christos Zoulas [Thu, 11 Dec 2014 14:10:53 +0000 (14:10 +0000)]
print empty if we could not read the interpreter.

10 years ago* change printable -> file_printable and use it in more places for safety
Christos Zoulas [Thu, 11 Dec 2014 12:34:24 +0000 (12:34 +0000)]
* change printable -> file_printable and use it in more places for safety
* in ELF, instead of "(uses dynamic libraries)" when PT_INTERP
  is present print the interpreter name.

10 years agoPR/405: file -bizL git-2.1.3.tar.xz broke because the xz decompressor
Christos Zoulas [Thu, 11 Dec 2014 11:47:08 +0000 (11:47 +0000)]
PR/405: file -bizL git-2.1.3.tar.xz broke because the xz decompressor
dies with SIGPIPE when we stop reading from it early. ignore SIGPIPE>

10 years agofix parameter options FILE5_21
Christos Zoulas [Thu, 11 Dec 2014 01:26:41 +0000 (01:26 +0000)]
fix parameter options

10 years agofix time
Christos Zoulas [Thu, 11 Dec 2014 01:09:20 +0000 (01:09 +0000)]
fix time

10 years agoupdate version
Christos Zoulas [Thu, 11 Dec 2014 00:59:51 +0000 (00:59 +0000)]
update version

10 years agoadd a demo entry to show shortcomings with the current file magic language.
Christos Zoulas [Wed, 10 Dec 2014 18:45:43 +0000 (18:45 +0000)]
add a demo entry to show shortcomings with the current file magic language.

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