Home | History | Annotate | Download | only in magdir
History log of /src/external/bsd/file/dist/magic/magdir/lisp
RevisionDateAuthorComments
 1.1  08-May-2009  christos branches: 1.1.1;
Initial revision
 1.1.1.7  10-Jun-2026  christos Import file-5.48 (previous was file-5.45)

2026-05-07 11:32 Christos Zoulas <christos@zoulas.com>

* release 5.48

2026-05-11 15:55 Christos Zoulas <christos@zoulas.com>

* add landlock support (valoq)

2026-04-19 15:55 Christos Zoulas <christos@zoulas.com>

* add BE/LE GUID

2026-04-17 11:05 Christos Zoulas <christos@zoulas.com>

* multiple fixes to prevent integer overflow in 32 bits (kerwin)

2026-04-15 12:40 Christos Zoulas <christos@zoulas.com>

* PR/745: streamout: Don't flush when trying to set negative offsets
on pipes, just continue, fixes 'cat file.zip | file -'
* PR/753: vmihalko: Fix race is magic_getpath()

2026-03-11 15:14 Christos Zoulas <christos@zoulas.com>

* PR/728: Anton Monroe: Reinstate regex/c

2026-02-26 11:32 Christos Zoulas <christos@zoulas.com>

* release 5.47

2026-02-04 09:54 Christos Zoulas <christos@zoulas.com>
* Better multi-compound document identification by following the
order of the directories entries. (Thomas Ledoux)

2026-01-19 14:00 Christos Zoulas <christos@zoulas.com>
* if stat fails, don't attempt to restore times (Steven Grubb)

2025-05-28 15:20 Christos Zoulas <christos@zoulas.com>

* PR/622: Odd_Bloke: Handle negative offsets in file_buffer(),
when fd is not available.

2025-05-28 12:50 Christos Zoulas <christos@zoulas.com>

* PR/655: jsummers: Obey str_flags in strings like we do for search
and regex
* PR/659: Pitzl: Apply MAGIC_CONTINUE to annotations; i.e. print
only the first, unless -k is specified.

2024-12-19 14:44 Christos Zoulas <christos@zoulas.com>

* PR/592: allow + in format strings
* PR/592: signed operations should be done in signed context

2024-12-05 13:50 Christos Zoulas <christos@zoulas.com>

* PR/578: jsummers: Don't crash on cygwin when tm_mon == -1
* PR/579: net147: Fix stack overrun.

2024-11-27 14:44 Christos Zoulas <christos@zoulas.com>

* release 5.46
* Add OFFPOSITIVE

2024-11-25 13:56 Christos Zoulas <christos@zoulas.com>

* avoid leaking symbols in libmagic

2024-11-10 13:56 Christos Zoulas <christos@zoulas.com>

* PR/562: jsummers: Search/regex offsets are absolute to the
beginning of the file, so adjust them by subtracting the
offset that the "use" starts so that we don't double-count it.


2024-11-09 19:30 Christos Zoulas <christos@zoulas.com>
* PR/543: matshch: bump nbuf so we can get the flags into the buffer.


2024-11-02 14:34 Christos Zoulas <christos@zoulas.com>

* Add Android elf notes (enh)

2023-12-29 12:55 Christos Zoulas <christos@zoulas.com>

* Add limit for number of magic warnings allowed

2023-07-29 12:55 Christos Zoulas <christos@zoulas.com>

* check regex bounds (found by clusterfuzz)
 1.1.1.6  09-Apr-2021  christos 2021-03-30 20:21 Christos Zoulas <christos@zoulas.com>

* release 5.40

2021-02-05 16:31 Christos Zoulas <christos@zoulas.com>

* PR/234: Add limit to the number of bytes to scan for encoding
* PR/230: Fix /T (trim flag) for regex

2021-02-01 12:31 Christos Zoulas <christos@zoulas.com>
* PR/77: Trim trailing separator.

2020-12-17 15:44 Christos Zoulas <christos@zoulas.com>

* PR/211: Convert system read errors from corrupt ELF
files into human readable error messages

2020-12-08 16:24 Christos Zoulas <christos@zoulas.com>

* fix multithreaded decompression file descriptor issue
by using close-on-exec (Denys Vlasenko)

2020-06-27 11:58 Christos Zoulas <christos@zoulas.com>

* Exclude surrogate pairs from utf-8 detection (Michael Liu)

2020-06-25 12:53 Christos Zoulas <christos@zoulas.com>

* Include # to the list of ignored format chars (Werner Fink)
 1.1.1.5  22-May-2019  christos 2019-05-14 22:26 Christos Zoulas <christos@zoulas.com>

* release 5.37

2019-05-09 22:27 Christos Zoulas <christos@zoulas.com>

* Make sure that continuation separators are printed
with -k within softmagic

2019-05-06 22:27 Christos Zoulas <christos@zoulas.com>

* Change SIGPIPE saving and restoring during compression to use
sigaction(2) instead of signal(3) and cache it. (Denys Vlasenko)
* Cache stat(2) calls more to reduce number of calls (Denys Vlasenko)

2019-05-06 17:25 Christos Zoulas <christos@zoulas.com>

* PR/77: Handle --mime-type and -k correctly.

2019-05-03 15:26 Christos Zoulas <christos@zoulas.com>

* Switch decompression code to use vfork() because
tools like rpmdiff and rpmbuild call libmagic
with large process footprints (Denys Vlasenko)

2019-04-07 14:05 Christos Zoulas <christos@zoulas.com>

* PR/75: --enable-zlib, did not work.

2019-02-27 11:54 Christos Zoulas <christos@zoulas.com>

* Improve regex efficiency (Michael Schroeder) by:
1. Prefixing regex searches with regular search
for keywords where possible
2. Using memmem(3) where available
 1.1.1.4  24-May-2017  christos branches: 1.1.1.4.10;
Import file-5.31; mostly oss-fuzz found bugs.
 1.1.1.3  10-Feb-2017  christos 2017-02-10 12:24 Christos Zoulas <christos@zoulas.com>

* release 5.30

2017-02-07 23:27 Christos Zoulas <christos@zoulas.com>

* If we exceeded the offset in a search return no match
(Christoph Biedl)
* Be more lenient on corrupt CDF files (Christoph Biedl)

2017-02-04 16:46 Christos Zoulas <christos@zoulas.com>

* pacify ubsan sign extension (oss-fuzz/524)

2017-02-01 12:42 Christos Zoulas <christos@zoulas.com>

* off by one in cdf parsing (PR/593)
* report debugging sections in elf (PR/591)

2016-11-06 10:52 Christos Zoulas <christos@zoulas.com>

* Allow @@@ in extensions
* Add missing overflow check in der magic (Jonas Wagner)

2016-10-25 10:40 Christos Zoulas <christos@zoulas.com>

* release 5.29

2016-10-24 11:20 Christos Zoulas <christos@zoulas.com>

* der getlength overflow (Jonas Wagner)
* multiple magic file load failure (Christoph Biedl)

2016-10-17 11:26 Christos Zoulas <christos@zoulas.com>

* CDF parsing improvements (Guy Helmer)

2016-07-20 7:26 Christos Zoulas <christos@zoulas.com>

* Add support for signed indirect offsets

2016-07-18 7:41 Christos Zoulas <christos@zoulas.com>

* cat /dev/null | file - should print empty (Christoph Biedl)

2016-07-05 15:20 Christos Zoulas <christos@zoulas.com>

* Bump string size from 64 to 96.

2016-06-13 20:20 Christos Zoulas <christos@zoulas.com>

* PR/556: Fix separators on annotations.

2016-06-13 19:40 Christos Zoulas <christos@zoulas.com>

* release 5.28
* fix leak on allocation failure

2016-06-01 1:20 Christos Zoulas <christos@zoulas.com>

* PR/555: Avoid overflow for offset > nbytes
* PR/550: Segv on DER parsing:
- use the correct variable for length
- set offset to 0 on failure.

2016-05-13 12:00 Christos Zoulas <christos@zoulas.com>

* release 5.27

2016-04-18 9:35 Christos Zoulas <christos@zoulas.com>

* Errors comparing DER entries or computing offsets
are just indications of malformed non-DER files.
Don't print them.
* Offset comparison was off-by-one.
* Fix compression code (Werner Fink)
* Put new bytes constant in the right file (not the generated one)

2016-04-16 18:34 Christos Zoulas <christos@zoulas.com>

* release 5.26

2016-03-31 13:50 Christos Zoulas <christos@zoulas.com>

* make the number of bytes read from files configurable.

2016-03-21 13:40 Christos Zoulas <christos@zoulas.com>

* Add bounds checks for DER code (discovered by Thomas Jarosch)
* Change indirect recursion limit to indirect use count and
bump from 15 to 50 to prevent abuse.

2016-03-13 20:39 Christos Zoulas <christos@zoulas.com>

* Add -00 which prints filename\0description\0

2016-03-01 13:28 Christos Zoulas <christos@zoulas.com>

* Fix ID3 indirect parsing

2016-01-19 10:18 Christos Zoulas <christos@zoulas.com>

* add DER parsing capability

2015-11-13 10:35 Christos Zoulas <christos@zoulas.com>

* provide dprintf(3) for the OS's that don't have it.

2015-11-11 16:25 Christos Zoulas <christos@zoulas.com>

* redo the compression code report decompression errors

2015-11-10 23:25 Christos Zoulas <christos@zoulas.com>

* REG_STARTEND code is not working as expected, delete it.

2015-11-09 16:05 Christos Zoulas <christos@zoulas.com>

* Add zlib support if we have it.

2015-11-05 11:22 Christos Zoulas <christos@zoulas.com>

* PR/492: compression forking was broken with magic_buffer.

2015-09-16 9:50 Christos Zoulas <christos@zoulas.com>

* release 5.25

2015-09-11 13:25 Christos Zoulas <christos@zoulas.com>

* add a limit to the length of regex searches

2015-09-08 9:50 Christos Zoulas <christos@zoulas.com>

* fix problems with --parameter (Christoph Biedl)

2015-07-11 10:35 Christos Zoulas <christos@zoulas.com>

* Windows fixes PR/466 (Jason Hood)

2015-07-09 10:35 Christos Zoulas <christos@zoulas.com>

* release 5.24

2015-06-11 8:52 Christos Zoulas <christos@zoulas.com>

* redo long option encoding to fix off-by-one in 5.23

2015-06-10 13:50 Christos Zoulas <christos@zoulas.com>

* release 5.23

2015-06-09 16:10 Christos Zoulas <christos@zoulas.com>

* Fix issue with regex range for magic with offset
* Always return true from mget with USE (success to mget not match
indication). Fixes mime evaluation after USE magic
* PR/459: Don't insert magic entries to the list if there are parsing
errors for them.

2015-06-03 16:00 Christos Zoulas <christos@zoulas.com>

* PR/455: Add utf-7 encoding

2015-06-03 14:30 Christos Zoulas <christos@zoulas.com>

* PR/455: Implement -Z, look inside, but don't report on compression
* PR/454: Fix allocation error on bad magic.

2015-05-29 10:30 Christos Zoulas <christos@zoulas.com>

* handle MAGIC_CONTINUE everywhere, not just in softmagic

2015-05-21 14:30 Christos Zoulas <christos@zoulas.com>

* don't print descriptions for NAME types when mime.

2015-04-09 15:59 Christos Zoulas <christos@zoulas.com>

* Add --extension to list the known extensions for this file type
Idea by Andrew J Roazen

2015-02-14 12:23 Christos Zoulas <christos@zoulas.com>

* Bump file search buffer size to 1M.

2015-01-09 14:35 Christos Zoulas <christos@zoulas.com>

* Fix multiple issues with date formats reported by Christoph Biedl:
- T_LOCAL meaning was reversed
- Arithmetic did not work
Also stop adjusting daylight savings for gmt printing.

2015-01-05 13:00 Christos Zoulas <christos@zoulas.com>

* PR/411: Fix memory corruption from corrupt cdf file.
 1.1.1.2  12-May-2011  christos branches: 1.1.1.2.28; 1.1.1.2.32;
from ftp.astron.com.
- many security related fixes
- no MAXPATHLEN limits
- fixed missing text specification on ascii magic
- new ``pascal'' style string formats
- whitespace comparison fix
- more magic
 1.1.1.1  08-May-2009  christos branches: 1.1.1.1.2;
from ftp.astron.com
 1.1.1.4.10.1  10-Jun-2019  christos Sync with HEAD
 1.1.1.2.32.1  21-Apr-2017  bouyer Sync with HEAD
 1.1.1.2.28.1  20-Mar-2017  pgoyette Sync with HEAD
 1.1.1.1.2.2  13-May-2009  jym Sync with HEAD.

Second commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.1.1.1.2.1  08-May-2009  jym file lisp was added on branch jym-xensuspend on 2009-05-13 18:51:57 +0000

RSS XML Feed