Re: RFC: Removing file(1)+libmagic(3) from the base system
- From: "M. Warner Losh" <imp@xxxxxxxxxx>
- Date: Thu, 24 May 2007 01:41:31 -0600 (MDT)
In message: <46553A6B.7070904@xxxxxxxxxxx>
Colin Percival <cperciva@xxxxxxxxxxx> writes:
: > I guess I fail to see how this is any different than the .gz bugs that
: > were found a while ago. Nobody suggested removing .gz from the tree
: > because a few bugs were found. Everybody suggested updating right
: > away to fix those bugs. File is no different, and really should
: > remain in the tree.
:
: Deflate is one file format which is used quite often. File parses several
: different formats, including several which are not tested often (i.e., have
: a much higher chance of including parse bugs).
Now you are really reaching... File does it work by reading in meta
data (in one format, well tested) that describes how to parse the
files using a simple meta-language to describe offsets. I think you
are really reaching here, unless you can show some conclusive evidence
to support that this can cause problems (apart from core dumps from
memory exhaustion, and the like). Can you point to one of the magic
meta files that has a description so complex that it will likely cause
these kinds of things to happen?
Warner
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- References:
- Re: RFC: Removing file(1)+libmagic(3) from the base system
- From: Ollivier Robert
- Re: RFC: Removing file(1)+libmagic(3) from the base system
- From: M. Warner Losh
- Re: RFC: Removing file(1)+libmagic(3) from the base system
- From: Colin Percival
- Re: RFC: Removing file(1)+libmagic(3) from the base system
- Prev by Date: Re: RFC: Removing file(1)+libmagic(3) from the base system
- Next by Date: Re: RFC: Removing file(1)+libmagic(3) from the base system
- Previous by thread: Re: RFC: Removing file(1)+libmagic(3) from the base system
- Next by thread: Re: RFC: Removing file(1)+libmagic(3) from the base system
- Index(es):
Relevant Pages
|
|