bugConcurrent Versions System - Bugs: bug #14462, memory allocation error in...

 
 

bug #14462: memory allocation error in RCS_parse

Submitted by:  None
Submitted on:  Wed 07 Sep 2005 07:30:24 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  <1.11.20 & <1.12.12
Fixed Release:  1.11.21 Fixed Feature Release:  1.12.13

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 07 Sep 2005 10:52:57 PM UTC, comment #1:

Fixed! Thanks!

Derek Robert Price <dprice>
Project Administrator
Wed 07 Sep 2005 07:30:24 PM UTC, original submission:

The variable rcsfile is freed but used afterwards in an error-call:

RCSNode *
RCS_parse (const char file, const char repos)
{
RCSNode *rcs;
FILE *fp;
RCSNode *retval = NULL;
char *rcsfile;
int inattic;

...
else if (! existence_error (errno))
{
// here it is!
free ( rcsfile );
error (0, errno, "cannot open %s", rcsfile);
}

return retval;
}

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-09-07 dprice StatusNone => Fixed
    Open/ClosedOpen => Closed
    Release => <1.11.20 & <1.12.12
    Fixed ReleaseNone => 1.11.21
    Fixed Feature ReleaseNone => 1.12.13

Back to the top


Powered by Savane 3.3