bors
f71b37bc28
Auto merge of #44802 - sfackler:vecdeque-oob, r=Gankro
...
Fix capacity comparison in reserve
You can otherwise end up in a situation where you don't actually resize
but still call into handle_cap_increase which then corrupts head/tail.
Closes #44800
Not totally sure the right way to write a test for this - there are some debug asserts the old bad behavior will hit but we don't build the stdlib with debug assertions by default.
r? @Gankro
2017-09-27 01:23:24 +00:00
..
2017-09-25 18:05:22 +00:00
2017-09-17 21:41:45 +02:00
2017-09-24 21:32:27 -07:00
2017-09-19 13:06:31 +00:00
2017-09-06 18:28:03 -06:00
2017-08-16 22:06:05 +02:00
2017-09-23 21:19:01 -07:00
2017-09-17 21:41:45 +02:00
2017-09-10 19:59:42 +02:00
2017-09-16 23:41:04 +02:00
2017-09-05 08:41:43 +08:00
2017-08-25 16:18:21 -04:00
2017-09-24 13:53:10 -07:00
2017-09-23 00:29:20 -04:00
2017-08-25 16:18:21 -04:00
2017-08-25 16:18:21 -04:00
2017-08-25 16:18:21 -04:00
2017-09-24 13:53:11 -07:00
2017-08-25 16:18:21 -04:00
2017-08-27 19:02:24 +09:00
2017-09-18 17:20:12 -07:00
2017-09-02 21:51:18 +02:00
2017-08-25 16:18:21 -04:00
2017-09-26 18:29:57 +00:00
2017-08-30 01:38:54 +03:00
2017-09-17 14:19:24 -04:00
2017-09-19 09:00:59 -04:00
2017-09-20 16:36:24 +03:00
2017-09-18 11:26:11 +02:00
2017-09-16 15:53:02 +00:00
2017-09-17 14:19:24 -04:00
2017-09-20 11:34:28 +02:00
2017-09-25 18:05:22 +00:00
2017-09-07 10:26:27 +02:00
2017-09-23 19:49:05 +02:00
2017-09-22 15:45:47 -07:00
2017-09-17 14:19:24 -04:00
2017-09-23 19:47:37 +02:00
2017-09-26 09:19:03 +00:00
2017-09-20 23:45:05 -07:00
2017-09-06 18:28:03 -06:00
2017-08-25 16:18:21 -04:00
2017-09-23 00:50:46 +03:00
2017-09-21 20:12:22 +00:00
2017-09-08 22:00:59 +03:00
2017-09-26 18:29:57 +00:00
2017-09-25 08:17:37 +02:00
2017-08-27 19:02:24 +09:00
2017-09-25 23:09:06 +00:00
2017-09-24 19:48:11 +00:00
2017-08-25 16:18:21 -04:00
2017-09-24 14:31:50 -07:00
2017-09-18 20:39:17 -07:00
2017-09-25 18:21:53 -07:00
2017-09-21 21:20:23 -07:00
2017-09-23 00:34:13 +03:00
2017-08-25 16:18:21 -04:00
2017-08-27 19:02:24 +09:00
2017-08-25 16:18:21 -04:00
2017-09-21 22:25:02 -04:00
2017-09-15 00:32:59 -05:00
2017-09-27 01:23:24 +00:00
2017-09-25 09:51:51 -04:00
2017-09-23 15:27:54 +02:00
2017-09-17 13:14:37 -04:00
2017-08-31 06:58:58 -07:00