accuya/google-breakpad

Wrong version of swprintf used with VS 7.1 CRT

Closed this issue · 2 comments

We've found that, when using the CRT from VS 2003/7.1, the
standards-conforming version of swprintf is not reliably used.  A
nonconforming version, which does not accept a buffer-length parameter, is
used instead.  Starting with the VS 2005/8.0 CRT, only the
standards-conforming version is available.

With VS 2003/7.1's CRT, we should force the use of a swprintf substitute
that accepts a length argument.  _snwprintf is available for this purpose.

Original issue reported on code.google.com by mmento...@gmail.com on 9 Apr 2007 at 6:09

Original comment by mmento...@gmail.com on 9 Apr 2007 at 6:10

Attachments:

Checked in, [143].

Original comment by mmento...@gmail.com on 9 Apr 2007 at 6:35

  • Changed state: Fixed