[Pkg-fedora-ds-maintainers] [libapache2-mod-nss] 79/156: 208848
Timo Aaltonen
tjaalton-guest at moszumanska.debian.org
Wed Jul 2 13:55:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
tjaalton-guest pushed a commit to branch master
in repository libapache2-mod-nss.
commit 16f50b3731a99bb68d4a601d5def7518411e1aaf
Author: rcritten <>
Date: Mon Oct 2 15:57:47 2006 +0000
208848
If the password stored in a file pointed to by NSSPassPhraseDialog
didn't match the database password then Apache would core on
Solaris (because passwd was NULL). The error message is still a bit
lackluster but at least it doesn't core anymore.
---
nss_engine_pphrase.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nss_engine_pphrase.c b/nss_engine_pphrase.c
index 8ba489a..981ebff 100644
--- a/nss_engine_pphrase.c
+++ b/nss_engine_pphrase.c
@@ -126,7 +126,7 @@ static char * nss_password_prompt(PK11SlotInfo *slot, PRBool retry, void *arg)
}
}
- if (parg->mc->nInitCount == 1) {
+ if ((parg->mc->nInitCount == 1) && (passwd != NULL)) {
char buf[1024];
apr_status_t rv;
apr_size_t nBytes = 1024;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-fedora-ds/libapache2-mod-nss.git
More information about the Pkg-fedora-ds-maintainers
mailing list