ole32: Fix access right check for opening and creating streams and storages.
commitb2207d83ad9c42c24a7dfec66fbd5bc76f438db1
authorRobert Shearman <rob@codeweavers.com>
Wed, 3 May 2006 13:48:58 +0000 (3 14:48 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 5 May 2006 19:49:04 +0000 (5 21:49 +0200)
tree509a1ddfe3129f5442b98641f572d7c45c9eed3a
parent8d39c809501f61f011758e7f41f351d2259b7a49
ole32: Fix access right check for opening and creating streams and storages.

Check the access mode for opening and creating streams and storages
doesn't exceed the access rights the current storage was opened with,
not the parent storage.
dlls/ole32/storage32.c
dlls/ole32/tests/storage32.c