[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] SOCK5 crash+fix
From: |
Thorsten Glaser |
Subject: |
Re: [Lynx-dev] SOCK5 crash+fix |
Date: |
Fri, 11 Mar 2022 15:31:14 +0000 (UTC) |
Gisle Vanem dixit:
>> 'HTSprintf0(NULL,..)' looks okay to me, but crashes
>> on some condition anyway. Some Runtime-Checks that gets
>> confused (?).
>
> I think I found the cause of it:
>
> --- orig/WWW/Library/Implementation/HTString.c 2021-06-09 22:16:06
> +++ WWW/Library/Implementation/HTString.c 2022-03-11 13:48:17
> char *dst_ptr = *pstr;
> const char *format = fmt;
> - char *dst_ptr = *pstr; // line 680
> + char *dst_ptr = pstr ? *pstr : NULL;
Ah! This looks better, indeed.
bye,
//mirabilos
--
Gestern Nacht ist mein IRC-Netzwerk explodiert. Ich hatte nicht damit
gerechnet, darum bin ich blutverschmiert… wer konnte ahnen, daß SIE so
reagier’n… gestern Nacht ist mein IRC-Netzwerk explodiert~~~
(as of 2021-06-15 The MirOS Project temporarily reconvenes on OFTC)
- [Lynx-dev] SOCK5 crash+fix, Gisle Vanem, 2022/03/10
- Re: [Lynx-dev] SOCK5 crash+fix, Steffen Nurpmeso, 2022/03/10
- Re: [Lynx-dev] SOCK5 crash+fix, Thorsten Glaser, 2022/03/10
- Re: [Lynx-dev] SOCK5 crash+fix, Thomas Dickey, 2022/03/10
- Re: [Lynx-dev] SOCK5 crash+fix, Steffen Nurpmeso, 2022/03/10
- Re: [Lynx-dev] SOCK5 crash+fix, Gisle Vanem, 2022/03/11
- Re: [Lynx-dev] SOCK5 crash+fix, Gisle Vanem, 2022/03/11
- Re: [Lynx-dev] SOCK5 crash+fix, Gisle Vanem, 2022/03/11
- Re: [Lynx-dev] SOCK5 crash+fix,
Thorsten Glaser <=
- Re: [Lynx-dev] SOCK5 crash+fix, Steffen Nurpmeso, 2022/03/11
- Re: [Lynx-dev] SOCK5 crash+fix, Thomas Dickey, 2022/03/12
- Re: [Lynx-dev] SOCK5 crash+fix, Steffen Nurpmeso, 2022/03/12