php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75635 Memory leak in fpm log
Submitted: 2017-12-06 04:56 UTC Modified: 2023-06-16 13:58 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: picone at 163 dot com Assigned: bukka (profile)
Status: Assigned Package: FPM related
PHP Version: 7.2Git-2017-12-06 (Git) OS: Any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: picone at 163 dot com
New email:
PHP Version: OS:

 

 [2017-12-06 04:56 UTC] picone at 163 dot com
Description:
------------
This is an easy probleam.
At sapi/fpm/fpm/fpm_log.c:80, it `strdup` a fpm_log_format but never free it.It should add a cleanup function to free its memory.
Thinks!


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2023-06-16 13:58 UTC] bukka@php.net
-Assigned To: +Assigned To: bukka
 [2023-06-16 13:58 UTC] bukka@php.net
I have been looking into this and there are actually more places and it is more a generic problem. Impact of this is small so I created a feature request issue to address it in a generic way: https://github.com/php/php-src/issues/11461
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 16:01:29 2024 UTC