[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.



Michael Tautschnig wrote:
[...]
>> 
>> Could you please run lintian with --keep-lab, and in the generated lab
>> (you can manually specify one with --lab, or use -d to see where it was
>> created) and attach the path/to/lab/source/clamav/index file?
>> 
> 
> Attached.

I found a difference on the results of the file-info parsing:

diff --git a/t1 b/t2
index 14783a7..1e3fbb1 100644
--- a/t1
+++ b/t2
@@ -648,4 +648,4 @@ unit_tests/urls.nocomment.ref^@
 unit_tests/urls.notags.ref^@
 unit_tests/valgrind.supp^@
 unit_tests/valgrind_tests.sh^@
-unit_tests/virusaction-test.sh^@
+unit_tests/virusaction-test.s^@

The former is from my machine, the latter is from the provided index.

Although there's definitely a bug in how the index is generated, I found
another bug, in file-info: chop was being used instead of chomp; attached
mbox corrects that (and should probably workaround the index file
generation bug).

> 
>> > [...] (no further errors)
>> > 
>> > I think the "commmand failed with error code 123" issue has been
>> > reported before already, but the uninitialized value in line 308 seems
>> > new.
>> 
>> The "command failed..." error was supposed to be fixed in 2.2.8, but
>> looks like something is missing.
>> 
> 
> It seems that both of these errors only happen on my system, I couldn't
> reproduce it on pergolesi.d.o. Strange. Please let me know if there is
> anything else I could do to help debugging this.

there might be several, unknown?, reasons why it can or can not be
reproduced.

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

Attachment: file-info.mbox
Description: application/mbox


Reply to: