public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/pam_skey/1.1.5: 03_all_null_response.patch
@ 2012-03-10 10:14 Ulrich Mueller (ulm)
  0 siblings, 0 replies; only message in thread
From: Ulrich Mueller (ulm) @ 2012-03-10 10:14 UTC (permalink / raw
  To: gentoo-commits

ulm         12/03/10 10:14:45

  Added:                03_all_null_response.patch
  Log:
  Check for NULL pointer in response from conversation function.

Revision  Changes    Path
1.1                  src/patchsets/pam_skey/1.1.5/03_all_null_response.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/pam_skey/1.1.5/03_all_null_response.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/pam_skey/1.1.5/03_all_null_response.patch?rev=1.1&content-type=text/plain

Index: 03_all_null_response.patch
===================================================================
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;
 }






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-10 10:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-10 10:14 [gentoo-commits] gentoo commit in src/patchsets/pam_skey/1.1.5: 03_all_null_response.patch Ulrich Mueller (ulm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox