bug-binutils
[Top][All Lists]
Advanced

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

comparison between signed and unsigned integer expressions in process_ex


From: Tom de Vries
Subject: comparison between signed and unsigned integer expressions in process_extended_line_op
Date: Tue, 18 Nov 2014 18:27:43 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

Hi,

I just ran into this error:
...
/home/vries/local/arm/obj/binutils-src-mainline-0-arm-none-linux-gnueabi-i686-pc-linux-gnu/binutils/dwarf.c: In function 'process_extended_line_op': /home/vries/local/arm/obj/binutils-src-mainline-0-arm-none-linux-gnueabi-i686-pc-linux-gnu/binutils/dwarf.c:419:38: error: comparison between signed \
and unsigned integer expressions [-Werror=sign-compare]
...

The line referenced is:
...
6937bb54 (Nick Clifton 2014-11-18 14:40:05 +0000 419) if (len == 0 || data == end || len > (end - data))
...

I suspect it's due to commit 6937bb54a9c3ddc7ba330bc18af76f8dbe856ac3 (More fixes for illegal memory accesses exposed by fuzzed binaries).

Thanks,
- Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]