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, Apr 21, 2:14 AM
Unknown Object (File)
Mon, Apr 20, 1:36 AM
Unknown Object (File)
Mon, Apr 20, 1:36 AM
Unknown Object (File)
Mon, Apr 13, 7:05 AM
Unknown Object (File)
Tue, Apr 7, 1:03 PM
Unknown Object (File)
Tue, Apr 7, 9:04 AM
Unknown Object (File)
Sun, Apr 5, 6:12 AM
Unknown Object (File)
Mar 25 2026, 6:09 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