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)
Mon, Nov 18, 7:50 PM
Unknown Object (File)
Oct 9 2024, 10:04 PM
Unknown Object (File)
Sep 27 2024, 4:53 AM
Unknown Object (File)
Sep 19 2024, 2:26 PM
Unknown Object (File)
Sep 9 2024, 3:56 AM
Unknown Object (File)
Sep 8 2024, 11:06 AM
Unknown Object (File)
Sep 7 2024, 5:01 PM
Unknown Object (File)
Aug 31 2024, 9:24 PM
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