Lioncash
0d2b2f45a8
CStringExtras: Prevent potential out of bounds reads with CompareCaseInsensitive
...
The strcasecmp and _stricmp functions expect the passed in strings to
be null-terminated, however we we're also exposing a std::string_view
overload for that function. std::string_view instances aren't required
to be null-terminated, so this makes the interface a little unsafe.
We can use std::lexicographical_compare() to provide the same behavior
and also properly handle the case of non-null-terminated strings.
2019-09-14 16:43:04 -04:00
..
2019-09-14 16:43:04 -04:00
2019-08-14 12:45:57 -04:00
2019-08-14 09:25:39 -04:00
2019-09-12 04:09:48 -04:00
2019-09-12 04:09:48 -04:00
2019-08-18 18:49:54 -07:00
2019-09-13 00:11:37 -07:00
2019-09-10 19:13:34 -04:00
2019-09-12 04:09:48 -04:00
2015-08-17 12:05:00 -10:00
2015-08-17 12:05:00 -10:00
2019-09-12 04:09:48 -04:00
2017-02-08 23:23:17 -10:00
2019-09-12 04:09:48 -04:00
2019-09-14 16:43:04 -04:00
2019-04-06 19:14:48 -10:00
2019-08-14 09:25:39 -04:00
2019-07-19 18:27:21 -10:00
2019-09-09 04:21:01 -07:00
2019-09-08 18:18:29 -04:00
2019-09-08 18:18:29 -04:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-08-09 09:13:26 -04:00
2019-08-14 09:25:39 -04:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-07-19 18:27:21 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-08-14 03:24:00 -04:00
2019-08-14 03:24:00 -04:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2017-02-09 23:00:57 -10:00
2019-08-25 18:29:25 -07:00
2019-08-14 09:25:39 -04:00
2019-07-19 18:27:21 -10:00
2018-12-07 19:30:43 -10:00
2019-02-17 19:47:46 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-08-09 09:13:26 -04:00
2019-06-11 16:05:17 -10:00
2019-09-03 23:11:04 -07:00
2019-06-11 16:05:17 -10:00
2019-08-26 15:03:58 -04:00
2019-08-26 15:03:58 -04:00
2019-08-26 15:03:58 -04:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-09-14 16:43:04 -04:00
2019-02-15 15:32:05 -10:00
2019-05-07 17:50:21 -10:00
2019-05-07 17:50:21 -10:00
2019-08-09 09:13:26 -04:00
2018-12-07 19:30:43 -10:00
2019-06-30 20:14:42 -10:00
2019-08-14 12:45:57 -04:00
2019-02-09 18:41:35 -10:00
2019-07-19 18:27:21 -10:00
2019-08-09 09:13:26 -04:00
2019-09-14 16:43:04 -04:00
2019-08-14 09:25:39 -04:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-09-12 04:09:48 -04:00
2019-08-09 09:13:26 -04:00
2018-12-07 19:30:43 -10:00
2019-02-23 21:15:54 -10:00
2019-09-12 04:09:48 -04:00
2019-08-14 12:45:57 -04:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-07-19 18:27:21 -10:00
2019-09-14 16:43:04 -04:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-03-09 23:37:36 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-08-09 09:13:26 -04:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-08-09 09:13:26 -04:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-07-19 18:27:21 -10:00
2019-08-09 09:13:26 -04:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-08-14 09:25:39 -04:00
2019-06-11 16:05:17 -10:00
2019-07-19 18:27:21 -10:00
2019-08-14 05:20:43 -04:00
2019-07-19 18:27:21 -10:00