Thanks for the good catch!

i am applying your patch and also adding an extra check in a different one.

thanks!

On Sun, Apr 1, 2012 at 1:42 PM, Jean-Paul Bonnet <[email protected]> wrote:
> Small fix  to retrieve the port of a IPV6 literal URL
> eg: [::1]:2001
> we used to search from left to right for the first instance of ':' to
> separate address from port.
> with an IPV6 url, the following  memcpy in mk_request.c crash the monkey
> server.
>
> Steps to reproduce:
> 1) put "Listen ::1" in monkey.conf
> 2) open web browser type address: "[::1]:2001"
> 3) --> BOUM
>
>
>
> _______________________________________________
> Monkey mailing list
> [email protected]
> http://lists.monkey-project.com/listinfo/monkey
>



-- 
Eduardo Silva
http://edsiper.linuxchile.cl
http://www.monkey-project.com
_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to