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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
28 + 4 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 06:01:29 2024 UTC