[support] memory corruption bug in hai_copy()?
Romain KUNTZ
kuntz at lsiit.u-strasbg.fr
Thu Jul 31 02:19:52 JST 2008
Hi Vilmos,
On 2008/07/30, at 10:56, Vilmos Nebehaj wrote:
> please find attached a patch that is supposed to fix a memory
> corruption bug in hai_copy(). It seems hai_copy() copies struct
> mn_addrs from the list conf_hai->mcoa to hai->mcoa with
> prefix_list_copy(). I introduced a new function, mnaddr_list_copy(),
> to do that correctly.
You right, that's a nice catch!
> Can anyone confirm the patch does the rigth thing?
Thanks for the patch, it seems all good.
> The line numbers may be incorrect since we have other patches
> applied and some other
> pending fixes as well.
If you have other fixes you'd like to integrate, feel free to post
them on the list. I'll take care of integrating them and release a new
McoA patch.
Thanks again!
--
Romain KUNTZ
kuntz at lsiit.u-strasbg.fr
LSIIT - Networks and Protocols Team
http://clarinet.u-strasbg.fr/~kuntz/
More information about the Support
mailing list