diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-02-27 21:14:06 +0100 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2017-02-27 21:19:05 +0100 |
| commit | 4e462d44f92e6358ba3a1b8be80a5c2e195b5f86 (patch) | |
| tree | 799171b2f44747f71c3addb5614a2597628e2990 /Source/Core/InputCommon/ControlReference/ControlReference.cpp | |
| parent | 7ac95c267382ce7ff9c06790acaf33428aafa5da (diff) | |
ESFormats: Fix GetRawTicketView
The vector was not constructed with the proper size, which results in a
buffer overflow as we were using memcpy.
This commit fixes that mistake and also uses a safer way of copying the
ticket view data (std::vector::insert instead of memcpy).
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/ControlReference.cpp')
0 files changed, 0 insertions, 0 deletions
