[Lldb-commits] [PATCH] Implement snprintf for MSVC with correct return value.

Chaoren Lin chaorenl at google.com
Thu May 28 07:35:28 PDT 2015


>
> I still think there's a bug where the string can be unterminated.


Do you mean the case where the number of characters written (no terminating
`'\0'`) is the same as count? `buffer[count-1] = '\0'` should handle that.

On Thu, May 28, 2015 at 7:31 AM, Adrian McCarthy <amccarth at google.com>
wrote:

> I still think there's a bug where the string can be unterminated.
>
>
> http://reviews.llvm.org/D10048
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150528/c077b1b2/attachment.html>


More information about the lldb-commits mailing list