SourceForge.net | 6 Mar 2012 15:25
Picon

[ expat-Bugs-2958794 ] memory leak in poolGrow

Bugs item #2958794, was opened at 2010-02-25 08:17
Message generated for change (Settings changed) made by kwaclaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=2958794&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Test Required
Status: Open
Resolution: Fixed
Priority: 5
>Private: Yes
Submitted By: Tim Boddy (timboddy)
Assigned to: Karl Waclawek (kwaclaw)
Summary: memory leak in poolGrow

Initial Comment:
This bug applies at least to 1.95.8, 2.0.0 and 2.0.1

poolGrow in xml.parse.cpp has the following block of code:

  if (pool->blocks && pool->start == pool->blocks->s) {
    int blockSize = (int)(pool->end - pool->start)*2;
    pool->blocks = (BLOCK *)
      pool->mem->realloc_fcn(pool->blocks,
                             (offsetof(BLOCK, s)
                              + blockSize * sizeof(XML_Char)));
    if (pool->blocks == NULL)
(Continue reading)

SourceForge.net | 9 Mar 2012 15:23
Picon

[ expat-Bugs-2958794 ] memory leak in poolGrow

Bugs item #2958794, was opened at 2010-02-25 08:17
Message generated for change (Settings changed) made by kwaclaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=2958794&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Test Required
Status: Open
Resolution: Fixed
Priority: 5
>Private: No
Submitted By: Tim Boddy (timboddy)
Assigned to: Karl Waclawek (kwaclaw)
Summary: memory leak in poolGrow

Initial Comment:
This bug applies at least to 1.95.8, 2.0.0 and 2.0.1

poolGrow in xml.parse.cpp has the following block of code:

  if (pool->blocks && pool->start == pool->blocks->s) {
    int blockSize = (int)(pool->end - pool->start)*2;
    pool->blocks = (BLOCK *)
      pool->mem->realloc_fcn(pool->blocks,
                             (offsetof(BLOCK, s)
                              + blockSize * sizeof(XML_Char)));
    if (pool->blocks == NULL)
(Continue reading)


Gmane