]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cfgparse-ssl: avoid a possible crash on OOM in ssl_bind_parse_npn()
authorWilly Tarreau <w@1wt.eu>
Thu, 29 Dec 2022 10:11:02 +0000 (11:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 2 Jan 2023 08:51:35 +0000 (09:51 +0100)
commitc57fb3be75d0cd36919ce94d5ef1d13ee6b15f98
treed96c42713e91120f1bce6ce14d5dbc1629602d58
parentb5662519df8006e25e3259c2737fc87aa9e35e84
MINOR: cfgparse-ssl: avoid a possible crash on OOM in ssl_bind_parse_npn()

Upon out of memory condition at boot, we could possibly crash when
parsing the "npn" bind line keyword since it's used unchecked. There's
no real need to backport this though it will not hurt.
src/cfgparse-ssl.c