rpcrt4: Use safe_copy_from_buffer instead of direct memory copy in NdrBaseTypeUnmarshall.
Robert Shearman
rob at codeweavers.com
Mon Apr 28 04:21:33 CDT 2008
This makes the code check that the buffer is big enough to read from
before copying the data from it. The safe_buffer_increment call is still
needed for the case where we point the memory to the buffer, so move the
call there.
---
dlls/rpcrt4/ndr_marshall.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7f29106010cdaaec83271780beb78b00d15a8c24.diff
Type: text/x-patch
Size: 849 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080428/1501e160/attachment.bin
More information about the wine-patches
mailing list