0ad/source
Ralph Sennhauser 11aa7fdafa
Avoid segfault with curl 8.10/8.11
With curl 8.10 [1] calling curl_multi_remove_handle retruns
CURLM_BAD_EASY_HANDLE iff the handle was removed already and no other
easy handle were registered. This resulted in ENUSRE triggering a
segfault during shutdown as reported. This was fixed upstream after
8.11.1 [2].

Do a runtime version check and for affected version allow
CURLM_BAD_EASY_HANDLE.

[1] curl ba235ab269080dc66e35835c829f7ac4290dbc1d
[2] curl 713182bd196bba014ba77f71176fea3de2236724

Fixes: #7295
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
(cherry picked from commit edde9fb4ee)
Signed-off-by: Itms <itms@wildfiregames.com>
2025-01-08 14:36:56 +01:00
..
collada Update trac links with gitea links 2024-12-10 11:29:48 +01:00
graphics Mod Interface: Enable setting territory visibility 2025-01-01 22:20:03 +01:00
gui Upgrade SpiderMonkey to ESR 115 2024-12-09 10:46:12 +01:00
i18n Update trac links with gitea links 2024-12-10 11:29:48 +01:00
lib Sign and notarize macOS bundles 2025-01-03 22:51:17 +01:00
lobby Allow to change a password from the lobby page 2024-12-08 17:13:47 +01:00
maths Update trac links with gitea links 2024-12-10 11:29:48 +01:00
mocks Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
network GameSettings: ensure savegameID is either a file name or undefined. 2025-01-04 23:19:23 +01:00
pch Remove glooxwrapper 2024-11-25 20:01:00 +01:00
ps Avoid segfault with curl 8.10/8.11 2025-01-08 14:36:56 +01:00
renderer Fixes slow-path texture conversion on RPI4. 2025-01-05 22:55:22 +01:00
rlinterface Shutdown mongoose in rl-interface gracefully 2024-06-23 17:26:03 +00:00
scriptinterface Remove check for SpiderMonkey minor version 2024-12-09 10:46:14 +01:00
simulation2 Consistent coment length to seperate message-types 2025-01-05 22:57:17 +01:00
soundmanager Fix sounds playing in the wrong places of the map 2025-01-04 23:18:46 +01:00
third_party Ignore cast warning in mongoose 2024-12-05 09:51:27 +01:00
tools Fix projectile modifier oversight and references 2025-01-08 14:36:02 +01:00
main.cpp Catch all std::exception when loading a map 2025-01-01 22:23:38 +01:00
test_setup.cpp Make the TaskManager a automatic livetime object 2024-11-17 18:03:49 +01:00