Re: [PATCH] BUG/MINOR: sink: Return an allocation failure in __sink_new if strdup() fails

2021-01-03 Thread Tim Düsterhus
Willy, Am 03.01.21 um 20:00 schrieb Willy Tarreau: >> The function was introduced in commit >> 67b5a161b4aa5cf9eb18a609fcbb64ec744ae7ea, >> which first appeared in 2.1-dev2. The fix should be backported to 2.1+. > > Ah good catch, thanks. Just one thing (I'll update your message accordingly), >

Re: [PATCH] BUG/MINOR: sink: Return an allocation failure in __sink_new if strdup() fails

2021-01-03 Thread Willy Tarreau
Hi Tim, On Sun, Jan 03, 2021 at 07:54:11PM +0100, Tim Duesterhus wrote: > This patch fixes GitHub issue #1023. > > The function was introduced in commit > 67b5a161b4aa5cf9eb18a609fcbb64ec744ae7ea, > which first appeared in 2.1-dev2. The fix should be backported to 2.1+. Ah good catch, thanks. J

[PATCH] BUG/MINOR: sink: Return an allocation failure in __sink_new if strdup() fails

2021-01-03 Thread Tim Duesterhus
This patch fixes GitHub issue #1023. The function was introduced in commit 67b5a161b4aa5cf9eb18a609fcbb64ec744ae7ea, which first appeared in 2.1-dev2. The fix should be backported to 2.1+. --- src/sink.c | 13 + 1 file changed, 13 insertions(+) diff --git a/src/sink.c b/src/sink.c in