aboutsummaryrefslogtreecommitdiff
path: root/dillorc
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-08-29 00:38:12 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-09-11 09:09:25 +0200
commit9b6c641637551a9946ca649c04e0a9fe3d39b05d (patch)
tree09d679096f18b98ae10326d225bf502c043d6880 /dillorc
parent8faec1d33e19bf86e2a1131daa48736e91497b67 (diff)
Fix heap use after free in TLS conn on errors
When a error causes the TLS connection to fail and stop, the conn struct is free on Tls_close_by_key(), so writing to conn->in_connect is not correct after that point. The solution is to only set the flag when the it is still valid. Reported-by: Alex <a1ex@dismail.de> Link: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/thread/TY2JYCIPC7IQ32U6VC7ZOV3FVFFOE5K3/
Diffstat (limited to 'dillorc')
0 files changed, 0 insertions, 0 deletions