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:54:11 +0100 |
commit | 2cb761c1f4e0155743f4414932b5cff167389cf4 (patch) | |
tree | a9a73436c71877307b5f71f781eba6fad048651f /crypto/conf | |
parent | 3ebcecf5c459772c04c6fd4c260ef0a6090532b2 (diff) |
Prevent infinite loop loading config files.
PR#2985
(cherry picked from commit 9d23f422a32cb333a5e803199ae230706b1bf9f5)
Diffstat (limited to 'crypto/conf')
-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; |