[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#521257: Use of uninitialized value in bitwise or (|) at /usr/share/lintian/lib/Lintian/Command.pm line 308.



Russ Allbery wrote:

> Raphael Geissert writes:
> 
>> I just reproduced it on a clean sid chroot. file 5.00-1 is installed, and
>> the culprit are...
>> unpacked/test/.split/split.clam.ole.docaa: ERROR: Can't read SAT
>> unpacked/test/.split/split.clam.pptaa: ERROR: Can't read SAT
>>
>> I reported this against file as #521772, and made sure the parsing of
>> tar's output is fine by comparing the output of what file-info pipes to
>> file, both outputs are byte-per-byte identical.
> 
> Oh, good catch.
> 
> Hm, we should probably work around that somehow in Lintian, but I'm not at
> all sure how.  I suppose we could catch error exit status from file and
> not abort, just do... something with it.  Ignore it or something.
> 

If we switch to File::Libmagic we could handle those error more
conveniently :)

Cheers,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net





Reply to: