1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-05 09:05:04 -05:00
curl/tests/data/test1552
Daniel Stenberg 7f1140c8bf
multi_cleanup: call DONE on handles that never got that
... 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
2017-10-06 16:48:39 +02:00

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>