Common: Zero initialize readlink buffer.

See #14483.
This commit is contained in:
Unknown W. Brackets 2021-05-27 23:12:40 -07:00 committed by GitHub
parent b10d90306f
commit ecc2f62688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -752,7 +752,7 @@ const Path &GetExeDirectory() {
ExePath = Path(program_path);
#elif (defined(__APPLE__) && !PPSSPP_PLATFORM(IOS)) || defined(__linux__) || defined(KERN_PROC_PATHNAME)
char program_path[4096];
char program_path[4096]{};
uint32_t program_path_size = sizeof(program_path) - 1;
#if defined(__linux__)