|  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
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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: picone at 163 dot com
New email:
PHP Version: OS:


 [2017-12-06 04:56 UTC] picone at 163 dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2023-06-16 13:58 UTC]
-Assigned To: +Assigned To: bukka
 [2023-06-16 13:58 UTC]
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:
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Feb 22 19:01:29 2024 UTC