[PATCH 0/1] MR331: winecfg: Support color profiles larger than MAX_PATH chars.
Stefan Dösinger (@stefan)
wine at gitlab.winehq.org
Tue Jun 28 06:10:58 CDT 2022
Signed-off-by: Stefan DÃ¶singer <stefan at 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.
More information about the wine-devel