summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'patchsets/pam_skey')
-rw-r--r--patchsets/pam_skey/1.1.5/03_all_null_response.patch14
1 files changed, 14 insertions, 0 deletions
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;
+ }