ole32: Fix invalid memory access in storage32
Vincent Povirk
madewokherd+8cd9 at gmail.com
Sun Dec 6 11:33:37 CST 2009
On Sun, Dec 6, 2009 at 8:12 AM, Huw Davies <huw at codeweavers.com> wrote:
> By the way, in storage32.h the filename member of struct StorageBaseImpl is
> declared as
> WCHAR filename[DIRENTRY_NAME_BUFFER_LEN];
> shouldn't it be
> WCHAR filename[DIRENTRY_NAME_MAX_LEN];
> ?
>
> Huw.
I'm not sure. I think I copied it from the old code and wondered the same thing.
It really depends on how IStorage_Stat behaves for the root storage. I
suspect that there's no limit, or that the limit is MAX_PATH. I'm
planning to write a test for it.
--
Vincent Povirk
More information about the wine-devel
mailing list