php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61594 ext/session/mod_mm.c: missing free of ps_mm_instance
Submitted: 2012-04-01 20:29 UTC Modified: 2012-04-03 01:33 UTC
From: jlawall at hotmail dot com Assigned: yohgaki (profile)
Status: Closed Package: Session related
PHP Version: master-Git-2012-04-01 (Git) OS:
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 !
Your email address:
MUST BE VALID
Solve the problem:
42 - 18 = ?
Subscribe to this entry?

 
 [2012-04-01 20:29 UTC] jlawall at hotmail dot com
Description:
------------
In the file ext/session/mod_mm.c, in the function PHP_MINIT_FUNCTION, it seems that ps_mm_instance should be freed and cleared when slprintf fails just as done on a later failure.


Patches

add_free_of_ps_mm_instance (last revision 2012-04-01 20:29 UTC by jlawall at hotmail dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-02 01:08 UTC] aharvey@php.net
-Package: *General Issues +Package: Session related
 [2012-04-03 01:33 UTC] yohgaki@php.net
-Assigned To: +Assigned To: yohgaki
 [2013-06-24 19:49 UTC] felipe@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=982c11573dd23d3070dfdd149e4ef1a5a1d14dab
Log: - Fixed bug #61594 (ext/session/mod_mm.c: missing free of ps_mm_instance) patch by: jlawall at hotmail dot com
 [2013-06-24 19:49 UTC] felipe@php.net
-Status: Assigned +Status: Closed
 [2014-10-07 23:18 UTC] stas@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=982c11573dd23d3070dfdd149e4ef1a5a1d14dab
Log: - Fixed bug #61594 (ext/session/mod_mm.c: missing free of ps_mm_instance) patch by: jlawall at hotmail dot com
 [2014-10-07 23:29 UTC] stas@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=982c11573dd23d3070dfdd149e4ef1a5a1d14dab
Log: - Fixed bug #61594 (ext/session/mod_mm.c: missing free of ps_mm_instance) patch by: jlawall at hotmail dot com
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 21:01:28 2024 UTC