BUG/MINOR: namespace: handle a possible strdup() failure
authorIlia Shipitsin <chipitsine@gmail.com>
Tue, 3 Dec 2024 16:10:21 +0000 (17:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 10 Dec 2024 10:09:53 +0000 (11:09 +0100)
commit1a61a186ea032c676934dbe846655b78bd3be9d2
tree895be5fef560447a82eaa1b1310f4c62a25ed797
parent24c63afbd2a4efa53a7106ba5200da49c21f03e0
BUG/MINOR: namespace: 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 abee5468509a77537015a7e5dc37268d4d564e03)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/namespace.c