[quagga-dev 4407] Re: Segfault in lib/smux.c

Pierre-Yves Ritschard pierre-yves at spootnik.org
Tue Sep 26 14:51:08 BST 2006


> On Tue, Sep 26, 2006 at 03:47:27PM +0200, Pierre-Yves Ritschard wrote:
>> > For extra points, you could fix all the other instances in the file.
>> I
>> > think there are a few more that have sizeof(<type>) instead of
>> > sizeof(<variable passed as argument>).  Hard-wiring the type in 2
>> places
>> > is a dangerous practice, in my opinion...
>> >
>> here's a patch that fixes all calls to asn_build_int in lib/smux.c
>
> Hmmm, that attachment was empty...
>
> Regards,
> Andy
>
sorry here's the real one
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quagga_lib_smux.diff
Type: application/octet-stream
Size: 1579 bytes
Desc: not available
URL: <http://lists.quagga.net/pipermail/quagga-dev/attachments/20060926/d4c018da/attachment-0001.obj>


More information about the Quagga-dev mailing list