On Wed, May 10, 2017 at 11:59 AM, Simon J. Gerraty <s...@juniper.net> wrote:
> Bryan Drewery <bdrew...@freebsd.org> wrote:
>> Oh now I get it too after updating system from head from r317177 to
>> r318116. So it seems to be a bug in bmake-20170420.
> What's in your env?
> Eg.
> env | grep MAKE
> ls

    As I noted in the src commit, I think r318161 addresses the issue
(also identified by Coverity as CID: 1374641). Basically, buf2 was in
scope for the conditional as stack memory, `path` took the address
buf2 and used it out of scope (which may have triggered the compiler
to optimize/evaluate the code incorrectly since the case seemed
freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to