Daniel Stenberg 54a385e3fa
duphandle: make dupset() not return with pointers to old alloced data
As the blob pointers are to be duplicated, the function must not return
mid-function with lingering pointers to the old handle's allocated data,
as that would lead to double-free in OOM situations.

Make sure to clear all destination pointers first to avoid this risk.

Closes #12337
2023-11-16 13:05:46 +01:00
..
2023-11-11 23:35:47 +01:00
2023-11-11 23:35:47 +01:00
2023-11-11 23:35:47 +01:00
2023-10-04 23:22:16 +02:00
2023-11-11 23:35:47 +01:00
2023-11-11 23:35:47 +01:00
2023-11-11 23:35:47 +01:00
2023-11-11 23:35:47 +01:00
2023-10-27 00:37:34 +00:00
2023-11-11 23:35:47 +01:00
2023-10-21 10:29:02 +02:00
2023-10-27 00:37:34 +00:00
2023-10-27 00:37:34 +00:00
2023-11-11 23:35:47 +01:00
2023-10-09 18:34:17 +02:00
2023-10-21 14:36:51 +02:00
2023-10-21 14:36:51 +02:00
2023-09-30 11:45:39 +02:00
2023-09-30 11:45:39 +02:00
2023-11-02 20:35:20 +01:00
2023-11-11 23:35:47 +01:00
2023-10-28 00:27:20 -04:00
2023-11-11 23:35:47 +01:00
2023-11-11 23:35:47 +01:00
2023-11-11 23:35:47 +01:00
2023-11-08 17:55:22 +00:00
2023-10-09 18:34:17 +02:00
2023-11-11 23:35:47 +01:00
2023-10-21 14:38:21 +02:00
2023-11-11 23:35:47 +01:00
2023-11-11 23:35:47 +01:00
2023-10-27 16:55:54 +02:00
2023-11-11 23:35:47 +01:00
2023-10-30 17:02:13 +01:00
2023-10-27 00:37:34 +00:00