tpoechtrager / osxcross

Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
GNU General Public License v2.0
2.8k stars 318 forks source link

Fix getExecutablePath() that causes SDK path detection failure in the… #394

Closed jlsantiago0 closed 10 months ago

jlsantiago0 commented 10 months ago

… wrapper. This is ported from master. Otherwise the wrapper can use random data in memory for a byte in the SDK PATH detection logic and can cause the wrapper to fail.