From: "Stefan Dösinger (@stefan)" Subject: [PATCH v2 0/1] MR331: winecfg: Support color profiles larger than MAX_PATH chars. Message-Id: Date: Tue, 28 Jun 2022 12:37:45 +0000 References: Signed-off-by: Stefan Dösinger --- 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. https://gitlab.winehq.org/wine/wine/-/merge_requests/331