ole: Check the return value of IStream_SetSize in IStream_Read.
authorRobert Shearman <rob@codeweavers.com>
Tue, 3 Jan 2006 11:07:49 +0000 (12:07 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 3 Jan 2006 11:07:49 +0000 (12:07 +0100)
commitdfa74b998ee8729f9129cd72119bf1e36f74fc23
tree1be5ee0e837eab2c0759b3b6e584af99e2119ab7
parent8f604e925d016a694e8f9d4ee1bf0505f409df23
ole: Check the return value of IStream_SetSize in IStream_Read.
Check the return value of IStream_SetSize in IStream_Read, since
otherwise execution could continue on and cause heap corruption.
dlls/ole32/hglobalstream.c