git://git.exim.org
/
users
/
jgh
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3348576
)
Fix possible NULL secret
author
Tom Kistner
<tom@duncanthrax.net>
Wed, 25 May 2005 17:50:33 +0000
(17:50 +0000)
committer
Tom Kistner
<tom@duncanthrax.net>
Wed, 25 May 2005 17:50:33 +0000
(17:50 +0000)
src/src/srs.c
patch
|
blob
|
history
diff --git
a/src/src/srs.c
b/src/src/srs.c
index b96d5f67adf77e6bddc5a25aef6649477c01ca47..e534943b39198e830c089d2579a81b17973183a3 100644
(file)
--- a/
src/src/srs.c
+++ b/
src/src/srs.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/srs.c,v 1.
6 2005/05/24 08:50:35 ph10
Exp $ */
+/* $Cambridge: exim/src/src/srs.c,v 1.
7 2005/05/25 17:50:33 tom
Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-71,7
+71,7
@@
int eximsrs_init()
/* First secret specified in secrets? */
co = 0;
list = srs_secrets;
/* First secret specified in secrets? */
co = 0;
list = srs_secrets;
- if(secret == NULL)
+ if(secret == NULL
|| *secret == NULL
)
{
if((secret = string_nextinlist(&list, &co, secret_buf, SRS_MAX_SECRET_LENGTH)) == NULL)
{
{
if((secret = string_nextinlist(&list, &co, secret_buf, SRS_MAX_SECRET_LENGTH)) == NULL)
{