diff options
author | David Lloyd <david.lloyd@fsmail.net> | 2014-07-07 13:11:48 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-07-07 13:19:57 +0100 |
commit | 9d23f422a32cb333a5e803199ae230706b1bf9f5 (patch) | |
tree | 1453cbea522db46159c5418d0c13a5c2f3f66c76 /crypto | |
parent | b73ac027357da29d9e393f24cd224999c94028d1 (diff) |
Prevent infinite loop loading config files.
PR#2985
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/conf/conf_def.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/conf/conf_def.c b/crypto/conf/conf_def.c index cf951320af..f0b2768739 100644 --- a/crypto/conf/conf_def.c +++ b/crypto/conf/conf_def.c @@ -321,7 +321,7 @@ again: p=eat_ws(conf, end); if (*p != ']') { - if (*p != '\0') + if (*p != '\0' && ss != p) { ss=p; goto again; |