sscanf(0, ""); Discuss.
-
-
good point, that makes it simple: check that input is a well-formed string before work.
-
*nod* There may be some code passing non-null-terminated input to sscanf, but this code already has UB too, as far as I can tell.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.