]> 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:33:38 +0000 (21:33 +0200)
commit6d676ed969a6492ef076cf1f1330c9bee9c55223
tree0ddfc8065518317c71421b0c62a10fd5b47438dd
parent58793b13c15fe0de5f10728caf91a255b090377f
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)

(cherry picked from commit f54e4bc51b78c10dc99a61c087861ee2c11d7a41)
crypto/conf/conf_def.c