diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-13 15:37:35 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-13 15:37:35 +0100 |
commit | d3ef160b44bd6ab93be2d3fea13f4496cfb0cf81 (patch) | |
tree | ce132758305b1d3695aec606a1a75db7aa776d63 /shadow-libpassphrase/xstrdup.patch | |
parent | update scrotty (diff) | |
download | aur-packages-d3ef160b44bd6ab93be2d3fea13f4496cfb0cf81.tar.gz aur-packages-d3ef160b44bd6ab93be2d3fea13f4496cfb0cf81.tar.bz2 aur-packages-d3ef160b44bd6ab93be2d3fea13f4496cfb0cf81.tar.xz |
add shadow-libpassphrase
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | shadow-libpassphrase/xstrdup.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/shadow-libpassphrase/xstrdup.patch b/shadow-libpassphrase/xstrdup.patch new file mode 100644 index 0000000..bce4342 --- /dev/null +++ b/shadow-libpassphrase/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); + } |