]> git.saurik.com Git - wxWidgets.git/commit
Fix the size of the buffer passed to wxTmemcpy() in wxTextDataObject.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 30 Jul 2012 11:39:08 +0000 (11:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 30 Jul 2012 11:39:08 +0000 (11:39 +0000)
commit73ed2b2b12d0d58e58b016eff705dd9f49293929
treef8e18b6e83ca216c967918305fa9a4cd9022b41e
parent229f00eb69472782a51a862b5f7e0ad059d906f7
Fix the size of the buffer passed to wxTmemcpy() in wxTextDataObject.

This corrects fatal bug introduced in r72259: we must not multiply the string
length by sizeof(wxChar) as wxTmemcpy() does this internally.

See #14444.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/dobjcmn.cpp