Page MenuHomeFreeBSD

binutils: Fix bugs found by -Wpointer-compare
ClosedPublic

Authored by jrtc27 on Oct 6 2019, 1:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 9:26 PM
Unknown Object (File)
Sun, Oct 12, 4:18 PM
Unknown Object (File)
Mon, Oct 6, 2:31 PM
Unknown Object (File)
Sat, Sep 27, 12:54 AM
Unknown Object (File)
Fri, Sep 26, 3:27 AM
Unknown Object (File)
Thu, Sep 25, 5:37 PM
Unknown Object (File)
Thu, Sep 25, 5:24 AM
Unknown Object (File)
Thu, Sep 25, 5:12 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