[PATCH v7] mscoree: Allow loading of registration free .NET COM objects
Fabian Maurer
dark.shadow4 at web.de
Wed Jan 30 13:46:17 CST 2019
> + if (lstrlenW(filename) + lstrlenW(path) + ARRAY_SIZE(str_dll) + 4
>
> >= filename_size) /* Include blackslash and null-terminator */
>
> This looks like it goes over the needed length. ARRAY_SIZE will
> include the null terminator from str_dll, and the backslash is only
> one character.
You're right, I missed that ARRAY_SIZE counts the null terminator already. I sent an
updated patch.
Regards,
Fabian Maurer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190130/6f25fc70/attachment.html>
More information about the wine-devel
mailing list