summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/nfs-utils/files
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>2014-11-12 12:42:35 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-25 13:03:26 +0000
commit1379659da5658c01ce2aa040ae924c7b0f5c6fd1 (patch)
tree5566d312e6ddf92a44e73d5a94af3bbf9b2021fa /meta/recipes-connectivity/nfs-utils/files
parent16edf5c21289dd2fb9f1adde813f0634dff0ea1a (diff)
downloadpoky-1379659da5658c01ce2aa040ae924c7b0f5c6fd1.tar.gz
nfs-utils: Upgrade to 1.3.1
Removed: fix-a-Gcc-undefined-behavior.patch - Upstream Removed: 0001-statd-fixed-the-with-statdpath-flag.patch - Upstream Removed: fix-the-start-statd.patch - Different solution on upstream Removed: nfs-utils-1.0.6-uclibc.patch - Different solution on upstream (From OE-Core rev: 7cd8b38f4f53d25a6dec8ec3b130a345480ff6b7) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/files')
-rw-r--r--meta/recipes-connectivity/nfs-utils/files/fix-a-Gcc-undefined-behavior.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/files/fix-a-Gcc-undefined-behavior.patch b/meta/recipes-connectivity/nfs-utils/files/fix-a-Gcc-undefined-behavior.patch
deleted file mode 100644
index 5843ba0fb9..0000000000
--- a/meta/recipes-connectivity/nfs-utils/files/fix-a-Gcc-undefined-behavior.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1[PATCH] fix a Gcc undefined behavior
2
3Upstream-Status: Pending
4
5Calling strncpy with NULL second argument, even when the size is 0,
6is undefined behavior, which leads to GCC to drop the check old
7variable with NULL in following code.
8
9https://bugzilla.yoctoproject.org/show_bug.cgi?id=6743
10
11Signed-off-by: Roy Li <rongqing.li@windriver.com>
12---
13 support/export/client.c | 9 +++++++--
14 1 file changed, 7 insertions(+), 2 deletions(-)
15
16diff --git a/support/export/client.c b/support/export/client.c
17index dbf47b9..a37ef69 100644
18--- a/support/export/client.c
19+++ b/support/export/client.c
20@@ -482,8 +482,13 @@ add_name(char *old, const char *add)
21 else
22 cp = cp + strlen(cp);
23 }
24- strncpy(new, old, cp-old);
25- new[cp-old] = 0;
26+
27+ if (old) {
28+ strncpy(new, old, cp-old);
29+ new[cp-old] = 0;
30+ } else
31+ new[0] = 0;
32+
33 if (cp != old && !*cp)
34 strcat(new, ",");
35 strcat(new, add);
36--
371.7.10.4
38