rpcrt4: Fix NdrConformantStringUnmarshall to always increment the buffer during unmar...
commit9a888e6465b79b5c3daec2723987aec3120888a6
authorRob Shearman <rob@codeweavers.com>
Thu, 20 Dec 2007 09:51:47 +0000 (20 09:51 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 20 Dec 2007 11:10:30 +0000 (20 12:10 +0100)
tree7bfeea2156741a2965281567c80435755ca49ffd
parentaaa0e5090a4fcc2a224a3fa2c95ba0265b173436
rpcrt4: Fix NdrConformantStringUnmarshall to always increment the buffer during unmarshalling.

safe_copy_from_buffer has the side-effect of incrementing the buffer and
this still needs to be done when we point the memory into the buffer.

(Thanks to Maarten Lankhorst for finding the mistake and suggesting a fix.)
dlls/rpcrt4/ndr_marshall.c