pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/51010: editors/nano-2.5.3 segfaults when filename outside of current working directory given as argument



The following reply was made to PR pkg/51010; it has been noted by GNATS.

From: coypu%SDF.ORG@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/51010: editors/nano-2.5.3 segfaults when filename outside of
 current working directory given as argument
Date: Sat, 26 Mar 2016 16:26:20 +0000

 The following patch fixes things for me.
 
 --- src/files.c.orig    2016-02-25 20:47:10.000000000 +0000
 +++ src/files.c
 @@ -59,7 +59,6 @@ bool has_valid_path(const char *filename
             validity = TRUE;
      }
  
 -    free(parentdir);
  
      if (!validity)
         beep();
 


Home | Main Index | Thread Index | Old Index