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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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: Mon Oct 14 12:01:27 2024 UTC