summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-03-10 10:14:45 +0000
committerUlrich Müller <ulm@gentoo.org>2013-02-15 11:58:08 +0100
commit619348cf84ad9c2e326bc097a2abff673b7c9e86 (patch)
treec68bfd93dac0a805b8fa55243c0f95f00018ae46 /patchsets
parentFix typos in documentation (PAM_AUTH_ERR not PAM_AUTHERR). (diff)
downloadulm-619348cf84ad9c2e326bc097a2abff673b7c9e86.tar.gz
ulm-619348cf84ad9c2e326bc097a2abff673b7c9e86.tar.bz2
ulm-619348cf84ad9c2e326bc097a2abff673b7c9e86.zip
Check for NULL pointer in response from conversation function.pam_skey-1.1.5-patches-4
Diffstat (limited to 'patchsets')
-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;
+ }