server: In set_user_object_info len is in bytes, not WCHARs.

Robert Shearman rob at codeweavers.com
Sun Nov 11 06:28:18 CST 2007


So divide it by sizeof(WCHAR) in order to not read beyond the end of name.
---
  server/winstation.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9f9040185ad7ad1a2a29608b157de462658712d2.diff
Type: text/x-patch
Size: 558 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071111/5f74f69d/attachment.bin 


More information about the wine-patches mailing list