Page MenuHomeFreeBSD

binutils: Fix bugs found by -Wpointer-compare
ClosedPublic

Authored by jrtc27 on Oct 6 2019, 1:57 PM.
Tags
None
Referenced Files
F157923389: D21911.id63656.diff
Tue, May 26, 1:04 PM
F157923100: D21911.id63656.diff
Tue, May 26, 1:01 PM
Unknown Object (File)
Fri, May 22, 6:36 PM
Unknown Object (File)
Fri, May 22, 7:40 AM
Unknown Object (File)
Thu, May 21, 6:23 PM
Unknown Object (File)
Wed, May 20, 3:18 AM
Unknown Object (File)
Tue, May 19, 3:21 AM
Unknown Object (File)
Tue, May 19, 3:17 AM
Subscribers

Details

Summary

The MIPS bug was introduced by upstream commit 7403cb630, which failed
to account for the additional indirection introduced and also dropped
one of the checks; change it to the standard "NULL-or-empty" check as
used elsewhere in BFD, which is also what upstream now has.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable