1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-03 10:51:49 -05:00
Daniel Stenberg 942cf12c2f
urldata: make magic be the first struct field
By making the `magic` identifier the same size and at the same place
within the structs (easy, multi, share), libcurl will be able to more
reliably detect and safely error out if an application passes in the
wrong handle to APIs. Easier to detect and less likely to cause crashes
if done.

Such mixups can't be detected at compile-time due to them being
typedefed void pointers - unless `CURL_STRICTER` is defined.

Closes #6484
2021-01-20 08:51:01 +01:00
..
2021-01-19 16:56:35 +01:00
2021-01-19 17:08:49 +01:00
2021-01-19 09:14:40 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 09:14:51 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 17:07:02 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 16:56:35 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-11 15:12:25 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 17:08:49 +01:00
2021-01-19 17:08:49 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 17:07:02 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 09:14:51 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 09:14:40 +01:00
2020-12-26 23:54:25 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2021-01-11 15:12:25 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 17:07:02 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 09:14:51 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 09:14:40 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 16:56:35 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 09:14:51 +01:00
2020-12-18 09:58:04 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 17:07:02 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 09:14:51 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-12-26 23:54:25 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 09:14:51 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 17:07:02 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 17:07:02 +01:00
2021-01-19 17:07:02 +01:00
2021-01-19 09:14:51 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-12-18 09:58:03 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00