From 56f955aca6231693fe797de4793f77ed58ab116e Mon Sep 17 00:00:00 2001 From: Bruno Cichon Date: Mon, 1 Oct 2018 01:51:03 +0200 Subject: Add some base packages for ppc64le --- libre-testing/shadow/xstrdup.patch | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 libre-testing/shadow/xstrdup.patch (limited to 'libre-testing/shadow/xstrdup.patch') diff --git a/libre-testing/shadow/xstrdup.patch b/libre-testing/shadow/xstrdup.patch new file mode 100644 index 000000000..bce434264 --- /dev/null +++ b/libre-testing/shadow/xstrdup.patch @@ -0,0 +1,9 @@ +--- shadow-4.1.2.1/libmisc/xmalloc.c 2008-08-30 21:55:44.000000000 -0500 ++++ shadow-4.1.2.1/libmisc/xmalloc.c.new 2008-08-30 21:55:36.000000000 -0500 +@@ -61,5 +61,6 @@ + + char *xstrdup (const char *str) + { ++ if(str == NULL) return NULL; + return strcpy (xmalloc (strlen (str) + 1), str); + } -- cgit v1.2.3