[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #14462] memory allocation error in RCS_parse
From: |
anonymous |
Subject: |
[bug #14462] memory allocation error in RCS_parse |
Date: |
Wed, 7 Sep 2005 19:30:24 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows 98) |
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 #14462] memory allocation error in RCS_parse,
anonymous <=