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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: <1.11.20 & <1.12.12
Fixed Release: 1.11.21Fixed 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;



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

Attach File(s):

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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 07 Sep 2005 10:52:57 PM UTCdpriceStatusNone=>Fixed
  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.1-cleanup1