Annotation of embedaddon/php/ext/curl/tests/bug62839.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #62839 (curl_copy_handle segfault with CURLOPT_FILE)
! 3: --SKIPIF--
! 4: <?php if (!extension_loaded("curl")) print "skip";
! 5: ?>
! 6: --FILE--
! 7: <?php
! 8: $curl = curl_init();
! 9:
! 10: $fd = tmpfile();
! 11: curl_setopt($curl, CURLOPT_FILE, $fd);
! 12:
! 13: curl_copy_handle($curl);
! 14:
! 15: echo 'DONE!';
! 16: ?>
! 17: --EXPECTF--
! 18: DONE!
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>