diff options
author | Andy Pieters | 2015-06-11 16:28:25 +0100 |
---|---|---|
committer | Andy Pieters | 2015-06-11 16:28:25 +0100 |
commit | 30a4fba3ea5f82af772b6cc4f7e6b140d8cfafde (patch) | |
tree | 69462fd7d7d4fd28bac073a6202530044bca89a7 /xstrdup.patch | |
download | aur-30a4fba3ea5f82af772b6cc4f7e6b140d8cfafde.tar.gz |
Migrated from AUR to AUR4; version 4.2.1-1
Diffstat (limited to 'xstrdup.patch')
-rw-r--r-- | xstrdup.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/xstrdup.patch b/xstrdup.patch new file mode 100644 index 000000000000..bce434264cd0 --- /dev/null +++ b/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); + } |