[OE-core] [PATCH] nfs-utils: fix a Gcc undefined behavior

Burton, Ross ross.burton at intel.com
Mon Oct 20 10:59:15 UTC 2014


On 15 October 2014 10:21,  <rongqing.li at windriver.com> wrote:
> Calling strncpy with NULL second argument, even when the size is 0,
> is undefined behavior, which leads to GCC to drop the check old
> variable with NULL in following code.
>
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=6743

I've merged this into my MUT branch but we're very late for 1.7.0
unless it's a critical fix.  We can roll this into 1.7.1 though.

Ross



More information about the Openembedded-core mailing list