Prevent infinite loop loading config files.
PR#2985 (Imported from upstream's 2cb761c1f4e0155743f4414932b5cff167389cf4) Change-Id: I3e4f3c0c558dd2e1cc5ed2df1651834018627342
This commit is contained in:
parent
887b1c3d49
commit
c82087b31f
@ -583,7 +583,7 @@ static int def_load_bio(CONF *conf, BIO *in, long *out_error_line) {
|
||||
end = eat_alpha_numeric(conf, ss);
|
||||
p = eat_ws(conf, end);
|
||||
if (*p != ']') {
|
||||
if (*p != '\0') {
|
||||
if (*p != '\0' && ss != p) {
|
||||
ss = p;
|
||||
goto again;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user