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: Kamil Rytarowski <n54%gmx.com@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 23:48:42 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 26.03.2016 20:55, Benny Siegert wrote:
> 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.
>
>
Right, this is better for consistency.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJW9xHJAAoJEEuzCOmwLnZsEpIP/2PLFcZR75B7vuoEClYa8YIR
jOqr80/Z/Z7mchmegMf/ZzhA4I3ZwgyYWAz8LVxxVxR4qe5A4vhAfPb3TZvp0aJy
kSMHMxHQuvjxJmFDk5qtk4C/A1v757ZkyIT9lAJfAfqE9srdblR1McoFe0FarDhQ
LkP/gV0MaNWtFtYD4a+qSjq9kMk5XHlecE/70b0X9jZn0AGcYK1NMQMYlOjPp1kt
azihxiwDqeEqknhc2BfkwxaFf46580kJwbTWwzCZ1jNaBuO8tWNi320yTLKAQV5j
keAGOMOaSGfFO/1jfSLqgFY4YJRILzXkmOLWmq4C+OwmvoXVf1LaiKBdPU6EW0Ed
Llm01PjHKYdRGUCnrUGMvHxXBQUwcSujN+reMVjExC4IFaTFQ0WdKq89PXkwqw8p
ICz5OXad6uF73MbcmI8kl0lJTg9eAMUvZN0nC9lZ4PRrhuJGWS61I7HCFutkXakQ
u+miC3zwlDej4h62wusw8c8C4AmhDT1n+nVBszosi5k1A83+k/CYs4UTUfkNxDj0
vOr8fgxWARrxLLS7bCL60lJvFOMt3Kd6md3Y1ubvbyalvk6R4j9O6RTNCzv6enAe
TVFg/Z38VFaEv5APi3lfy9jcV3lYrGSga3evSblZlKTOSbHWhqSZEVk6H8CFDT1j
wfMtNkVIwlzyRDJ0OMnt
=cE3O
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index