svn commit: r303797 - head/contrib/binutils/bfd
Justin Hibbits
jhibbits at freebsd.org
Sun Aug 7 18:21:05 UTC 2016
On Sat, 6 Aug 2016 23:52:58 -0700
Mark Millard <markmi at dsl-only.net> wrote:
> Is there to be an MFC for the below?
>
> > Author: jhibbits
> > Date: Sat Aug 6 15:10:14 2016
> > New Revision: 303797
> > URL:
> > https://svnweb.freebsd.org/changeset/base/303797
> >
> >
> > Log:
> > Check the first byte of the array for NUL, instead of the array
> > as a NULL pointer
> > The partition_name field is an array, so can never be NULL
> > itself. Check only the first byte instead.
> >
> > This was found when test building with clang, but I'm not sure
> > how it passes gcc's warnings either.
> >
MFC After: 11-RELEASE
- Justin
More information about the svn-src-head
mailing list