]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix line continuation check in config parser
authorerbsland-dev <github@erbsland.dev>
Mon, 15 Jul 2024 10:16:09 +0000 (12:16 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 16 Jul 2024 19:32:40 +0000 (21:32 +0200)
commitf54e4bc51b78c10dc99a61c087861ee2c11d7a41
tree6d1f3d9d1c14efc7aea03701f3625b5f75cc0e72
parentf692ceeedcd104407b7672c67d62d6f86f8ac182
Fix line continuation check in config parser

Fixes #8038: Previously, line continuation logic did not account for the 'again' flag, which could cause incorrect removal of a backslash character in the middle of a line. This fix ensures that line continuation is correctly handled only when 'again' is false, thus improving the reliability of the configuration parser.

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24890)
crypto/conf/conf_def.c