]> git.ipfire.org Git - thirdparty/curl.git/commit
multi: fix add_handle resizing
authorStefan Eissing <stefan@eissing.org>
Wed, 28 May 2025 12:04:31 +0000 (14:04 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 28 May 2025 12:48:44 +0000 (14:48 +0200)
commitd16ccbd55de80c271fe822f4ba8b6271fd9166ff
tree515dc491805699280654980cc140fdf085132fe9
parent698491f444947c89822c8776ab3eefe28259aedf
multi: fix add_handle resizing

Due to someone being stupid, the resizing of the multi's transfer
table was actually shrinking it. Oh my.

Add test751 to reproduce, add code assertion.

Fixes #17473
Reported-by: Jeroen Ooms
Closes #17475
lib/multi.c
tests/data/Makefile.am
tests/data/test751 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib751.c [new file with mode: 0644]