[screen] Add missing patch

Petr Hracek phracek at fedoraproject.org
Tue Apr 29 13:38:07 UTC 2014


commit 7b67bbb5e2af7341d963d96a8fff86efe72c8a9e
Author: Petr Hracek <phracek at redhat.com>
Date:   Tue Apr 29 15:36:55 2014 +0200

    Add missing patch

 screen-4.2.1-crypt.patch |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/screen-4.2.1-crypt.patch b/screen-4.2.1-crypt.patch
new file mode 100644
index 0000000..63a1578
--- /dev/null
+++ b/screen-4.2.1-crypt.patch
@@ -0,0 +1,13 @@
+diff --git a/misc.c b/misc.c
+index 43e93a2..178fda9 100644
+--- a/misc.c
++++ b/misc.c
+@@ -56,6 +56,8 @@ register const char *str;
+ {
+   register char *cp;
+ 
++  if(str == NULL)
++    Panic(0, "SaveStr() received NULL - possibly failed crypt()");
+   if ((cp = malloc(strlen(str) + 1)) == NULL)
+     Panic(0, "%s", strnomem);
+   else


More information about the scm-commits mailing list