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

From: Date: Sun, 07 Nov 2021 04:22:08 +0000
Subject: Bug #81559 [Fbk->NoF]: curl_init - memory leak
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237590@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: php-bugs@lists.php.net Reported by: jurasciix at gmail dot com Summary: curl_init - memory leak -Status: Feedback +Status: No Feedback Type: Bug Package: cURL related Operating System: Windows NT 10.0 PHP Version: 8.0.12 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2021-10-28 08:06:19] requinix@php.net 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? ------------------------------------------------------------------------ [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 (#237590) next »