Steve Youngs <steve@xxxxxxxxxxx> writes:
> * Zajcev Evgeny <zevlg@xxxxxxxxx> writes:
>
> > From: Ville Skytt╢ <scop@xxxxxxxxxx>
> > Subject: Re: [Bug: 21.4.17] Problem with open-network-stream
>
> [...]
>
> > Does SXEmacs affected as well? Should we apply this patch:
> > http://list-archive.xemacs.org/xemacs-patches/200504/msg00056.html ?
>
> Do you mean this...
>
> 2005-04-16 00:36:50 GMT Steve Youngs <steve@xxxxxxxxxxx> patch-38
>
> Summary:
> Prevent corrupted stack in `unix_open_network_stream' (gcc4)
> Revision:
> sxemacs--main--22.1.2--patch-38
>
> * src/process-unix.c (unix_open_network_stream): moved 'portbuf' buffer
> out of an inner block as it is used in the entire function. With gcc4,
> the stack may get corrupted after leaving this block. This patches
> adjusts the size of the used buffer also; static '128' bytes are far
> too much currently and might not suffice for future architectures
> (e.g. for 512 bit ones ;)). Instead of, use only the really required
> space (max octets * ln(256)/ln(10) chars + space for '\0' and the sign)
>
> From Enrico Scholz <enrico.scholz@xxxxxxxxxxxxxxxxxxxxxxxxx>
>
>
> modified files:
> src/process-unix.c
>
> :-)
Yeah, sorry for disturbation, i've missed it .. hmm, seems time to
star-merge with head for me :)
--
lg
|