summaryrefslogtreecommitdiff
path: root/system-helper
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2022-08-16 15:22:39 +0200
committerAlexander Larsson <alexander.larsson@gmail.com>2022-08-22 10:36:30 +0200
commitdc82a19dc58d1fee25f45daeb5114338526ec8f7 (patch)
treed6de371be78c2e0427ae673353637a94df9e455c /system-helper
parent764e5a4d0cd7f5b39d569fac62faa018b48d6d1b (diff)
downloadflatpak-dc82a19dc58d1fee25f45daeb5114338526ec8f7.tar.gz
common: Add thread safety on libcurl usage
There can happen a race condition between internal libcurl structure content when two threads set the `data` structure for the callbacks from two threads, which can cause access of already freed stack-allocated `data`, resulting in a memory corruption. Closes https://github.com/flatpak/flatpak/issues/3701
Diffstat (limited to 'system-helper')
0 files changed, 0 insertions, 0 deletions