Reducing/removing sscanf use

Daniel Stenberg via curl-library <[email protected]>
Newsgroups gmane.comp.web.curl.library
Message-ID <[email protected]>
Hi,

Generally, I believe using sscanf() for string parsing is a footgun so I have 
over a long time been working on reducing sscanf calls in curl.

Now there is a graph showing this progress:

   https://curl.se/dashboard1.html#sscanf

There is also this PR that can remove the last three sscanf() calls 
completely, by also introducing a set of string parsing functions:

   https://github.com/curl/curl/pull/15692

When that is done, we can ban sscanf completely from being used to not 
accidentaly re-introduce any:

   https://github.com/curl/curl/pull/15687

-- 

  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.