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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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: Tue Feb 27 21:01:27 2024 UTC