URL:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14462>
Summary: memory allocation error in RCS_parse
Project: Concurrent Versions System
Submitted by: None
Submitted on: Mi 07.09.2005 um 19:30
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release:
Fixed Release: None
Fixed Feature Release: None
_______________________________________________________
Details:
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;
}
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14462>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
_______________________________________________
Bug-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/bug-cvs