mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-01 12:32:48 +00:00
4e462d44f9
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).