diff options
| author | Itrimel <void> | 2020-02-07 18:14:33 +0100 |
|---|---|---|
| committer | Itrimel <void> | 2020-02-14 11:51:36 +0100 |
| commit | fe900e057b6068b570582e6640894a7d504f1259 (patch) | |
| tree | 93a21d45b2e599472e312a620feb428fc8f819f1 /Source/Core/InputCommon/ControllerInterface | |
| parent | a205ecb446e5920d1fb6f6ffde6dc83b956fd877 (diff) | |
Core/GeckoCodeConfig : Fix Gecko codes formatting
Some locales (e.g. fr_FR.UTF-8 on ArchLinux) don't split the string stream on a space. As such, when extracted formatted data from te stream, it will return the two numbers as one for the first call, effectively overflowing the u32 variable, then will do an out-of-bounds read for the second call. Forcing the use of the C locale on the streams where it would cause a problem allows to workaround this behavior.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
0 files changed, 0 insertions, 0 deletions
