mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
7f1140c8bf
... fixes a memory leak with at least IMAP when remove_handle is never called and the transfer is abruptly just abandoned early. Test 1552 added to verify Detected by OSS-fuzz Assisted-by: Max Dymond Closes #1954
53 lines
603 B
Plaintext
53 lines
603 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
IMAP
|
|
Clear Text
|
|
FETCH
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
From: me@somewhere
|
|
To: fake@nowhere
|
|
|
|
body
|
|
|
|
--
|
|
yours sincerely
|
|
</data>
|
|
<datacheck>
|
|
</datacheck>
|
|
<servercmd>
|
|
</servercmd>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
imap
|
|
</server>
|
|
<name>
|
|
IMAP multi transfer error without curl_multi_remove_handle
|
|
</name>
|
|
# tool is what to use instead of 'curl'
|
|
<tool>
|
|
lib1552
|
|
</tool>
|
|
<command>
|
|
'imap://%HOSTIP:%IMAPPORT/1552/;UID=1'
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|