From 619348cf84ad9c2e326bc097a2abff673b7c9e86 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sat, 10 Mar 2012 10:14:45 +0000 Subject: Check for NULL pointer in response from conversation function. --- patchsets/pam_skey/1.1.5/03_all_null_response.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patchsets/pam_skey/1.1.5/03_all_null_response.patch diff --git a/patchsets/pam_skey/1.1.5/03_all_null_response.patch b/patchsets/pam_skey/1.1.5/03_all_null_response.patch new file mode 100644 index 0000000..3518993 --- /dev/null +++ b/patchsets/pam_skey/1.1.5/03_all_null_response.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/407591 +Check for NULL pointer in response from conversation function. + +--- pam_skey-1.1.5/pam_skey.c ++++ pam_skey/pam_skey.c +@@ -266,5 +266,8 @@ + else + return PAM_SERVICE_ERR; + ++ if (*response == NULL) ++ return PAM_SERVICE_ERR; ++ + return PAM_SUCCESS; + } -- cgit v1.2.3-65-gdbad