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



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