Maganty Rushyendra
4ef246f804
Fix unsigned integer bug in LocalVector::erase
...
`erase()` calls `find()` to get the index of the element to remove, if
any.
c2151e1813/core/local_vector.h (L77-L81)
`find()` returns a signed integer. In particular, it returns -1 if
no element is found. Since `erase()` converts this to an unsigned type, the
wrong element may be erroneously removed from the vector.
Other ways to fix this would involve changing function signatures, so
this seemed to be the least disruptive change.
Fixes #38884
2020-05-27 21:53:34 +08:00
..
2020-05-20 09:37:32 +03:00
2020-05-14 21:57:34 +02:00
2020-05-19 15:57:56 +02:00
2020-05-19 15:57:56 +02:00
2020-05-19 15:57:56 +02:00
2020-05-19 15:57:56 +02:00
2020-05-20 09:37:32 +03:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 16:54:55 +02:00
2020-05-16 18:13:25 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 21:57:34 +02:00
2020-05-19 15:57:56 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-03-30 09:05:53 +02:00
2020-04-02 13:38:00 +02:00
2020-05-14 16:54:55 +02:00
2020-05-19 15:57:56 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-19 15:57:56 +02:00
2020-05-14 16:54:55 +02:00
2020-03-25 11:22:19 +01:00
2020-05-14 21:57:34 +02:00
2020-05-15 18:21:14 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 16:54:55 +02:00
2020-01-01 11:16:22 +01:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-20 14:43:24 +03:00
2020-05-16 16:10:50 +02:00
2020-03-25 11:22:19 +01:00
2020-05-19 15:57:56 +02:00
2020-05-27 21:53:34 +08:00
2020-05-19 15:57:56 +02:00
2020-05-19 15:57:56 +02:00
2020-05-16 18:13:25 +02:00
2020-05-16 18:13:25 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-25 11:18:02 +02:00
2020-02-20 08:24:50 +01:00
2020-05-19 15:57:56 +02:00
2020-05-14 21:57:34 +02:00
2020-05-19 15:57:56 +02:00
2020-05-19 15:57:56 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 16:54:55 +02:00
2020-05-19 15:57:56 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-25 17:50:36 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-03-25 11:22:19 +01:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-02-11 14:08:44 +01:00
2020-05-14 16:54:55 +02:00
2020-05-14 16:54:55 +02:00
2020-05-19 15:57:56 +02:00
2020-05-19 11:24:58 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-16 16:10:50 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 10:01:56 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 16:54:55 +02:00
2020-05-19 15:57:56 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-19 15:57:56 +02:00
2020-05-14 21:57:34 +02:00
2020-05-20 16:45:42 +03:00
2020-05-19 15:57:56 +02:00
2020-05-19 15:57:56 +02:00
2020-05-14 16:54:55 +02:00
2020-05-19 15:57:56 +02:00
2020-05-19 15:57:56 +02:00
2020-05-19 15:57:56 +02:00
2020-03-25 11:22:19 +01:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00