ole32: Check the small block size limit of storage files.
authorVincent Povirk <vincent@codeweavers.com>
Sat, 20 Mar 2010 19:28:09 +0000 (14:28 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 22 Mar 2010 09:47:58 +0000 (10:47 +0100)
commit49a817c064e73e60173914306dd81d95690f3923
treecc5e214364e1f83f2ebdd9d6a0d0fa82d0391a0f
parent975c820fce6401aae6aaffb3711028ec12933c4e
ole32: Check the small block size limit of storage files.

This value is stored in the storage file header. We currently hard-code it to
0x1000. I don't expect to see files in the wild with other values, but
according to MS this is a valid configuration. For now, just fail if we see
another value.

I've also upgraded the message for unexpected values in storage file headers
to a fixme, since they are valid according to MS.
dlls/ole32/storage32.c
dlls/ole32/storage32.h