kernel32: Fix uninitialised memory read in GetPrivateProfileStringA if…
kernel32: Fix uninitialised memory read in GetPrivateProfileStringA if GetPrivateProfileStringW returns 0.
The buffer that was passed into the function will remain
uninitialised. Fix reading from this by only reading retW characters
from bufferW and manually nul-terminating the string.
Showing
Please
register
or
sign in
to comment