Jump to content

_snprintf and _vsnprintf don't guarantee null termination.

Guest Vinolentus

Recommended Posts

* What bug does the patch fix? What features does the patch add?

Each of these functions takes a pointer to an argument list, then formats the data, and writes up to count characters to the memory pointed to by buffer. If there is room at the end (that is, if the number of characters to write is less than count), the buffer will be null-terminated.



* For which repository revision was the patch created?


* Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.


* Who has been writing this patch? Please include either forum user names or email addresses.



Link to comment
Share on other sites


  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use