[PATCH] ole32: handle length=0 in save datacache
Dmitry Timoshkov
dmitry at baikal.ru
Fri Nov 3 06:22:31 CDT 2017
Marcus Meissner <marcus at jet.franken.de> wrote:
> The ole2 test crashes for me, reason is that length is 0
> and we use length-1 for accessing whats returned.
...
> + if (!length)
> + return DV_E_CLIPFORMAT;
The test intentionally creates the storage streams with length
field set to 0, and as the tests show this is not an error.
So the fix should be probably different.
--
Dmitry.
More information about the wine-devel
mailing list