ole32: Fix invalid memory access in storage32

Nathan Gallaher ngallaher at deepthought.org
Sun Dec 6 08:45:53 CST 2009



On Sun, 6 Dec 2009, Huw Davies 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.

Looking at it, I can't tell. Perhaps Vincent Povirk can explain, as that 
is his baby. What length it should be defined as is outside the scope of 
this patch anyway.

Thanks,
~Nate



More information about the wine-devel mailing list