Re: SOCK5 crash+fix
Thomas Dickey <[email protected]>
| Newsgroups | gmane.comp.web.lynx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Mar 10, 2022 at 07:22:21PM +0100, Steffen Nurpmeso wrote: > Hello. > > I was the original author of the $SOCKS5_PROXY patch, but for one > Thomas Dickey changed the C enormously, and i also have forgotten > anything about it, but you noting it made me look. sorry - I didn't notice this at the time, but it was in Steffen's patch: Date: Sun, 15 Sep 2019 00:04:18 +0200 From: Steffen Nurpmeso <[email protected]> To: Thomas Dickey <[email protected]> Cc: [email protected] Subject: Re: [Lynx-dev] ..on SOCKS5 support ... + p1 = NULL; + + protocol = HTSprintf0(NULL, gettext("(for %s at %s) SOCKS5"), + protocol, socks5_host); + } +#ifndef INET6 HTSprintf0 expects to have the address of a pointer in which it can return a pointer to newly-allocated memory. (the pointer is normally set to NULL by the caller). -- Thomas E. Dickey <[email protected]> https://invisible-island.net ftp://ftp.invisible-island.net
signature.asc
(application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmIqlWMACgkQzCr0RyFn vgOQ5QwA3EjAAmSHJy0C5VzNlbCZBkolSXxrKKPuP0zesKLkKNHfrK2yTBbIwKkg fcbq7ASmnDyWb+6xZjgiE1s7AzYSmhc+2Ou9KPUU8im79A6ychnKwpvVSdrpoQ1s GXE/Uq2cO0iWpHB0TFKyTOJWsMAIOwRPN1vZ/0JnmOSX0hN+aTMjRD5J3QKiAE7P WJ+dwOfHvqi3KUReZhOQTA3X7QN7wJYCnzjsKw8kJVs6a8OVJkurnI5ZSOPuYnJI LKtGYUxRuX1GAlKbS2Ds/6iOg+FzkAqyaiUM7YkO0w6q3XiN4kczF5up9SYe3en2 gXutyKNIOC194IFeuzpawix+qX+wcMNCq3aSpb9hFNi5y2ZUundeYnQH0kpg0aYk +kyPSlZfM09zOF/hqlQP08HynylY7J5U+yk5tUguHuVfWn7os2beALUGvl79EYCG mp7yxXh4+MBVCWEHEZZAjG0CXLqDlh8RyylUuI2G/Lcv5khHSUvMVfR4X00ZNlwj Y61uxBA8 =DmKi -----END PGP SIGNATURE-----