On Wed, 5 Mar 2014, Frank Gevaerts wrote:

I don't know if there are ways to abuse this, but on my (64 bit) system, "curl http://www.google.com:-18446744073709551536/"; behaves as if it were port 80.

Ah yes, due to the crappy error code checking, thanks!

I pushed a follow-up now that checks the number more carefully.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to