[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/19310] src/binutils/dwarf.c:6459: code relies on undefined
From: |
nickc at redhat dot com |
Subject: |
[Bug binutils/19310] src/binutils/dwarf.c:6459: code relies on undefined behaviour ? |
Date: |
Fri, 04 Dec 2015 12:53:06 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19310
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |nickc at redhat dot com
--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hmm, will this do the trick ?
- if (start >= block_end || start + ul > block_end || start + ul < start)
+ if (start >= block_end || ul > (unsigned long) (block_end - start))
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/19310] src/binutils/dwarf.c:6459: code relies on undefined behaviour ?,
nickc at redhat dot com <=