Bug #81559 [Opn->Fbk]: curl_init - memory leak

From: Date: Thu, 28 Oct 2021 08:06:19 +0000
Subject: Bug #81559 [Opn->Fbk]: curl_init - memory leak
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237409@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81559&edit=1 ID: 81559 Updated by: requinix@php.net Reported by: jurasciix at gmail dot com Summary: curl_init - memory leak -Status: Open +Status: Feedback Type: Bug Package: cURL related Operating System: Windows NT 10.0 PHP Version: 8.0.12 Block user comment: N Private report: N New Comment: PHP doesn't crash simply because there's a memory leak. How about giving some more information about what you discovered? Memory leak where? How did you determine that? Got a crash dump or backtrace? Previous Comments: ------------------------------------------------------------------------ [2021-10-28 05:49:37] jurasciix at gmail dot com Description: ------------ When the curl_init function is called without an internet connection, it causes a memory leak, which causes the PHP interpreter to crash. Test script: --------------- // begin. IMPORTANT: this must be execute WITHOUT an internet connection. $ch = curl_init(); // end Expected result: ---------------- The FALSE. Actual result: -------------- PHP interpreter crashes due to memory leak. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=81559&edit=1

« previous php.bugs (#237409) next »