[PATCH 1/2] shlwapi: Implement SHGetIniStringW

Paul Vriens paul.vriens.wine at gmail.com
Fri Jul 23 09:43:28 CDT 2010


On 07/23/2010 04:19 PM, Andrew Eikum wrote:
> +    memset(out, 0, sizeof(out));

It's usually better to fill it with something other than '0'. Checking 
later for '0' could mean that either the rest of the buffer is indeed 
untouched or is cleared/zeroed.

-- 
Cheers,

Paul.



More information about the wine-devel mailing list