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: Benny Siegert <bsiegert%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost, asiekierka%gmail.com@localhost
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 20:51:16 +0100

 >  - -    parentdir = dirname(mallocstrcpy(NULL, filename));
 >  +      parentdir = strdup(dirname(filename));
 
 Should be
 
 parentdir = mallocstrcpy(NULL, dirname(filename));
 
 Feel free to commit that.
 


Home | Main Index | Thread Index | Old Index