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:31:56 +0100 |
commit | af56e7559d31cb9cb84b85a7dedd8e12cf1f06cd (patch) | |
tree | f08040514d4733d0719e6ca4e46e9e4ac1c1e896 /scripts/lib/wic/pluginbase.py | |
parent | fc0668a019eca422540ceab3efcd2b2a27dd79e0 (diff) | |
download | openembedded-core-af56e7559d31cb9cb84b85a7dedd8e12cf1f06cd.tar.gz openembedded-core-af56e7559d31cb9cb84b85a7dedd8e12cf1f06cd.tar.bz2 openembedded-core-af56e7559d31cb9cb84b85a7dedd8e12cf1f06cd.zip |
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
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/wic/pluginbase.py')
0 files changed, 0 insertions, 0 deletions