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

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


> 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


More information about the Quagga-dev mailing list