diff options
author | Roy Li <rongqing.li@windriver.com> | 2014-10-15 17:21:34 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-24 17:36:14 +0100 |
commit | 5269dfa0e61025bae0b059d7f188afec249e7baf (patch) | |
tree | a48c3b2971e1088ad12157d6dc66977bd0da95ef /meta/recipes-support/nss | |
parent | d7cb96f28ddab87653d4cc03ea1b478c4efac616 (diff) | |
download | poky-5269dfa0e61025bae0b059d7f188afec249e7baf.tar.gz |
nfs-utils: fix a Gcc undefined behavior
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
(From OE-Core rev: af56e7559d31cb9cb84b85a7dedd8e12cf1f06cd)
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nss')
0 files changed, 0 insertions, 0 deletions