Bug #81559 [NEW]: curl_init - memory leak

From: Date: Thu, 28 Oct 2021 05:49:37 +0000
Subject: Bug #81559 [NEW]: curl_init - memory leak
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237407@lists.php.net to get a copy of this message
From:             jurasciix at gmail dot com
Operating system: Windows NT 10.0
PHP version:      8.0.12
Package:          cURL related
Bug Type:         Bug
Bug description:curl_init - memory leak

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 bug report at https://bugs.php.net/bug.php?id=81559&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=81559&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=81559&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=81559&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=81559&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=81559&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=81559&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=81559&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=81559&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=81559&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=81559&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81559&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=81559&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=81559&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=81559&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=81559&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=81559&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=81559&r=mysqlcfg


Thread (3 messages)

« previous php.bugs (#237407) next »