diff options
author | Ulrich Müller <ulm@gentoo.org> | 2012-03-10 10:14:45 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2013-02-15 11:58:08 +0100 |
commit | 619348cf84ad9c2e326bc097a2abff673b7c9e86 (patch) | |
tree | c68bfd93dac0a805b8fa55243c0f95f00018ae46 /patchsets/pam_skey/1.1.5/03_all_null_response.patch | |
parent | Fix typos in documentation (PAM_AUTH_ERR not PAM_AUTHERR). (diff) | |
download | ulm-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/pam_skey/1.1.5/03_all_null_response.patch')
-rw-r--r-- | patchsets/pam_skey/1.1.5/03_all_null_response.patch | 14 |
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; + } |