@kees_cook So for sprintf() format string, "%s" is still fine as opposed to "%sbar", correct? I.e. nothing to truncate?
-
-
-
@michaelrash Problem is using the same buffer as both dest and src: sprintf(buf, "%s...", buf) is considered to have "undefined" results. -
@kees_cook Ok, understood. Your sprintf() patch had a minor typo in the description ("baz" should have been "foo"), now I understand, thanks -
@michaelrash ah, yes, that could be. It was a long thread and many years ago. :) Sorry for the confusion.
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.