Léo Lam
83b9feff90
Core/Movie: Fix a likely out-of-bounds read for PanicAlertT
...
gameID isn't null terminated since it is just an std::array<char, 6>
and .data() returns a char* so {fmt} would go way beyond the bounds of
the array when it attempts to determine the length of the string.
The fix is to pass a std::string_view to {fmt}. This commit adds
a GetGameID() function that can also be used to simplify
string comparisons.
2020-11-21 01:30:02 +01:00
..
2020-11-19 14:21:06 -05:00
2020-10-20 13:31:01 +02:00
2020-11-19 14:21:06 -05:00
2020-11-19 14:21:06 -05:00
2020-11-20 16:21:05 +01:00
2020-11-20 10:05:44 -05:00
2020-11-20 10:05:44 -05:00
2020-11-20 20:24:30 +01:00
2020-11-18 02:10:37 +01:00
2020-11-03 09:48:22 +01:00
2020-11-19 14:21:06 -05:00
2019-05-06 18:48:04 +00:00
2020-09-07 22:37:46 -04:00
2020-04-02 12:52:16 +10:00
2020-10-20 19:11:04 -04:00
2019-05-06 18:48:04 +00:00
2020-11-19 14:21:06 -05:00
2019-11-09 15:31:51 +01:00
2020-10-26 18:48:42 +01:00
2018-09-15 17:28:23 +02:00
2020-11-19 14:21:06 -05:00
2020-10-21 20:02:52 +02:00
2020-11-19 14:21:06 -05:00
2020-11-09 10:38:49 +01:00
2020-10-21 07:35:42 -04:00
2020-10-21 07:35:42 -04:00
2020-11-19 14:21:06 -05:00
2019-05-06 18:48:04 +00:00
2020-11-19 14:21:06 -05:00
2018-10-29 23:00:51 +01:00
2020-10-05 22:18:04 +02:00
2019-05-06 18:48:04 +00:00
2020-04-03 12:53:38 +02:00
2020-10-29 21:03:06 -03:00
2020-10-29 21:03:06 -03:00
2019-06-26 17:55:51 +02:00
2019-06-26 17:55:51 +02:00
2020-08-27 21:54:04 +01:00
2020-08-30 10:29:40 +02:00
2019-05-08 11:20:59 +01:00
2020-11-19 14:21:06 -05:00
2019-05-06 18:48:04 +00:00
2020-11-21 01:30:02 +01:00
2020-11-21 01:30:02 +01:00
2020-11-19 14:21:06 -05:00
2020-09-27 13:10:19 -05:00
2020-09-27 13:10:19 -05:00
2020-11-19 14:21:06 -05:00
2020-08-02 22:46:53 +02:00
2020-11-19 14:21:06 -05:00
2020-11-19 14:21:06 -05:00
2020-10-21 22:49:59 +02:00
2020-08-02 22:46:53 +02:00
2020-11-19 14:21:06 -05:00
2020-01-23 22:58:23 -06:00
2019-11-11 07:32:57 -05:00
2019-02-25 19:55:46 +01:00
2020-11-19 14:21:06 -05:00
2020-03-16 21:04:19 +01:00
2020-11-19 20:32:19 +01:00
2019-07-18 22:29:04 +02:00