msvcp90: In codecvt<wchar_t>::do_out, copy local buffer to *to_next.
This commit is contained in:
parent
c65bd5cad2
commit
8ed96ab041
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue