BUG/MINOR: ssl_crtlist: handle a possible strdup() failure
authorIlia Shipitsin <chipitsine@gmail.com>
Tue, 3 Dec 2024 16:13:05 +0000 (17:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 20 Mar 2025 10:22:17 +0000 (11:22 +0100)
commitd511b93d2d0d8083809b1ae0a2bfaaba76840941
tree4b77ec0f6d45dac250abaf257806a68e823e3d39
parent8620ce848217931375c1b99a0d1aeae6fdc40a45
BUG/MINOR: ssl_crtlist: handle a possible strdup() failure

This defect was found by the coccinelle script "unchecked-strdup.cocci".
It can be backported to all supported branches.

(cherry picked from commit ce30bc17305e4ac2dec7d641eedcb301a237d863)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit f13318e2d28bcbd0929ab9e494cc52803c5db7d1)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/ssl_crtlist.c