Module: wine Branch: master Commit: 8ed96ab041259d94f569e0a579b97e35fe75e05e URL: http://source.winehq.org/git/wine.git/?a=commit;h=8ed96ab041259d94f569e0a579...
Author: Daniel Lehman dlehman@esri.com Date: Thu Sep 27 14:54:02 2012 -0700
msvcp90: In codecvt<wchar_t>::do_out, copy local buffer to *to_next.
---
dlls/msvcp90/locale.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/msvcp90/locale.c b/dlls/msvcp90/locale.c index 26f1fba..e5b9d6a 100644 --- a/dlls/msvcp90/locale.c +++ b/dlls/msvcp90/locale.c @@ -3273,6 +3273,7 @@ int __thiscall codecvt_wchar_do_out(const codecvt_wchar *this, int *state, }
(*from_next)++; + memcpy_s(*to_next, to_end-*to_next, buf, size); (*to_next) += size; } }