[7/7] msi: Avoid accessing uninitialized memory.
Juan Lang
juan.lang at gmail.com
Wed Oct 21 10:22:08 CDT 2009
Hi Hans,
- size = (lstrlenW(value) + 1 + size) * sizeof(WCHAR);
+ size += (lstrlenW(value) + 1) * sizeof(WCHAR);
I don't see how you're avoiding accessing uninitialize memory here.
Could you enlighten me?
I think it's complaining about value, by the way, which could be NULL
according to line 5034:
if (flags & ENV_ACT_REMOVEMATCH && (!value || !lstrcmpW(data, value)))
--Juan
More information about the wine-devel
mailing list