On Sat, Apr 13, 2013 at 3:12 AM, Steve Holme <steve_ho...@hotmail.com> wrote: > Whilst I have 20 odd years' experience as a C/C++ developer would someone > be so kind to check the four uses of sscanf() in url.c between lines 4381 > and 4402 to see if this is the best / most optimal way of extracting the > user, password and options?
Are you opposed to code generated using a lexer/parser or a library like uriparser? It's hard to prove the correctness of sscanf(). I'm new here, but I'm curious if this has been considered or tried. ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html