summaryrefslogtreecommitdiff
path: root/lib/firefox-db2pem.sh
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-19 08:23:52 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-19 08:41:29 +0100
commitabc52bf7cbf300eacabbaf642a0a9ac7af99ddc2 (patch)
treea72fc642f34c95eeeba4fd7ed3d100739596967b /lib/firefox-db2pem.sh
parent8399d89360db40cafe16ba65b5d9586d5a4fd3eb (diff)
downloadcurl-abc52bf7cbf300eacabbaf642a0a9ac7af99ddc2.tar.gz
urldata: make magic be the first struct fieldbagder/handle-diff
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.
Diffstat (limited to 'lib/firefox-db2pem.sh')
0 files changed, 0 insertions, 0 deletions