Signed-off-by: Stefan Dösinger stefan@codeweavers.com
---
GetPrivateProfileStringW looks rather awkward to me, and we are dealing with external input here, so if there is a better way to handle this please let me know.
A theme description I copypasted out of the registry has 384 characters, so a larger array than MAX_PATH is needed to import it correctly. A maliciously crafted ini file could have any size.
-- v2: winecfg: Support color profiles larger than MAX_PATH chars.