Page MenuHomeFreeBSD

binutils: Fix bugs found by -Wpointer-compare
ClosedPublic

Authored by jrtc27 on Oct 6 2019, 1:57 PM.
Tags
None
Referenced Files
F171018581: D21911.id62960.diff
Tue, Sep 8, 5:35 AM
Unknown Object (File)
Wed, Sep 2, 6:38 PM
Unknown Object (File)
Wed, Aug 26, 4:15 PM
Unknown Object (File)
Sun, Aug 23, 7:32 PM
Unknown Object (File)
Fri, Aug 21, 7:42 AM
Unknown Object (File)
Sun, Aug 9, 10:27 PM
Unknown Object (File)
Sun, Aug 9, 10:27 PM
Unknown Object (File)
Jul 26 2026, 9:59 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