[Top][All Lists]

[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)


                 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
           Fixed Release: None
   Fixed Feature Release: None



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:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]