RSS feed

nss-pam-ldapd branch master updated. 0.9.1-19-g2bd2bc4

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd branch master updated. 0.9.1-19-g2bd2bc4

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nss-pam-ldapd".

The branch, master has been updated
       via  2bd2bc470c824453cd002f151db9d668f609fc10 (commit)
       via  dccc9cf7cbbe3cae606a7761897c9d514b467aeb (commit)
      from  4fc41979a9b0beb6a6bf57429685e2a89300f8b1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 2bd2bc470c824453cd002f151db9d668f609fc10
Author: Arthur de Jong <>
Date:   Fri Sep 13 13:31:15 2013 +0200

    Initialise msg to avoid potential NULL pointer dereference
    The NULL pointer dereference in the PAM module should not occur due to
    the relationship with the rc value that is handled alongside it. This
    change mostly silences the compiler and protects from future changes.

diff --git a/pam/pam.c b/pam/pam.c
index 5898ae1..2b67c73 100644
--- a/pam/pam.c
+++ b/pam/pam.c
@@ -539,7 +539,7 @@ int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags,
   const char *username, *service;
   const char *ruser = NULL, *rhost = NULL, *tty = NULL;
   struct nslcd_resp authz_resp;
-  const char *msg;
+  const char *msg = NULL;
   /* set up configuration */
   cfg_init(pamh, flags, argc, argv, &cfg);
   rc = init(pamh, &cfg, &ctx, &username, &service, &ruser, &rhost, &tty);

commit dccc9cf7cbbe3cae606a7761897c9d514b467aeb
Author: Arthur de Jong <>
Date:   Fri Sep 13 13:30:51 2013 +0200

    Add configure test for {set,get,end}usershell() availability

diff --git a/ b/
index c51c770..08956d3 100644
--- a/
+++ b/
@@ -344,6 +344,7 @@ AC_CHECK_FUNCS([malloc realloc atexit])
 AC_SEARCH_LIBS(clock_gettime, rt)
+AC_CHECK_FUNCS([setusershell getusershell endusershell])
 # checks for types


Summary of changes: |    1 +
 pam/pam.c    |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

To unsubscribe send an email to or see