Dave Tucker
619e402989
builder: Make builtin arg pruning work with > 1 arg
...
The previous implementation would error out with "Unexpected EOF" which
was caused by an underlying "array index out-of-bounds" error.
The root cause was deleting items from the same array that was being
iterated over. The iteration was unaware that the array size had
changed, resulting in an error.
The new implementation builds a new array instead of mutating a copy of
the old one.
Fixes : #32744
Signed-off-by: Dave Tucker <dt@docker.com >
Upstream-commit: 1076ab58ec92637a1a157d8dfbb7625d7bba6c40
Component: engine
2017-04-26 10:24:58 +01:00
..
2016-12-30 18:26:34 +01:00
2017-04-19 15:52:03 +02:00
2017-04-14 19:27:33 +02:00
2017-03-23 18:35:22 +01:00
2017-03-24 15:31:08 -04:00
2017-03-15 10:43:18 -07:00
2017-03-06 16:41:33 +01:00
2016-12-26 21:29:17 +01:00
2016-12-30 18:26:34 +01:00
2017-04-11 18:25:49 +02:00
2017-01-12 16:57:59 +01:00
2017-01-03 11:49:30 +01:00
2017-01-03 11:49:30 +01:00
2017-04-19 15:52:03 +02:00
2017-04-16 23:39:30 +02:00
2017-01-29 13:35:32 +08:00
2017-04-16 23:39:30 +02:00
2017-03-06 16:41:33 +01:00
2017-03-06 16:41:33 +01:00
2017-04-14 16:01:56 -07:00
2017-01-03 11:49:30 +01:00
2017-01-17 12:39:08 +01:00
2017-01-03 11:49:30 +01:00
2017-03-06 16:41:33 +01:00
2017-03-06 16:41:33 +01:00
2017-04-16 23:39:30 +02:00
2017-04-16 23:39:30 +02:00
2017-03-06 16:41:33 +01:00
2017-02-11 00:18:01 +08:00
2017-03-20 16:30:01 +08:00
2017-04-10 13:41:16 -07:00
2017-04-12 16:55:48 -07:00
2017-03-29 10:28:51 +02:00
2017-01-03 11:49:30 +01:00
2017-01-03 11:49:30 +01:00
2017-01-03 11:49:30 +01:00
2017-04-14 19:27:33 +02:00
2016-12-30 18:26:34 +01:00
2017-03-22 12:07:39 -07:00
2017-01-17 12:39:08 +01:00
2017-04-26 10:24:58 +01:00
2017-04-11 18:25:49 +02:00
2017-04-12 11:22:32 +02:00
2017-04-12 11:22:32 +02:00
2017-01-09 11:07:05 +01:00
2017-04-12 10:33:19 +00:00
2017-04-12 10:33:19 +00:00
2017-04-12 10:33:19 +00:00
2017-04-12 10:33:19 +00:00
2017-04-16 23:39:30 +02:00
2017-04-19 14:04:39 +02:00
2017-01-20 06:01:48 +00:00
2017-03-22 14:38:55 -07:00
2017-04-12 16:52:35 -07:00
2017-04-14 19:27:33 +02:00
2017-04-16 23:39:30 +02:00
2017-03-23 18:35:22 +01:00
2017-04-16 23:39:30 +02:00
2016-12-30 18:26:34 +01:00
2017-01-12 16:57:59 +01:00
2017-01-09 11:07:05 +01:00
2017-01-17 12:39:08 +01:00
2017-04-03 21:04:40 -04:00
2017-03-23 18:35:22 +01:00
2017-03-28 15:17:31 +02:00
2017-03-23 18:35:22 +01:00
2017-03-23 18:35:22 +01:00
2017-03-28 15:17:31 +02:00
2017-04-16 23:39:30 +02:00
2016-12-30 18:26:34 +01:00
2017-04-16 23:39:30 +02:00
2017-04-16 23:39:30 +02:00
2017-01-30 10:54:06 +01:00
2016-12-30 18:26:34 +01:00
2017-03-15 10:43:18 -07:00
2017-01-02 15:37:09 +01:00
2016-03-21 11:05:58 -04:00
2017-03-28 15:17:31 +02:00
2017-04-14 19:27:33 +02:00
2016-12-30 18:26:34 +01:00
2017-04-16 23:39:30 +02:00
2016-12-30 18:26:34 +01:00
2017-04-12 11:22:32 +02:00
2017-04-11 18:07:15 -04:00
2017-04-19 14:04:39 +02:00
2016-12-30 18:26:34 +01:00
2017-01-09 11:07:05 +01:00
2017-04-14 19:27:33 +02:00
2017-04-16 23:39:30 +02:00
2017-03-23 18:35:22 +01:00
2017-02-02 11:07:30 -08:00
2017-04-19 14:04:39 +02:00
2017-04-19 14:04:39 +02:00
2017-03-15 10:43:18 -07:00
2017-04-16 23:39:30 +02:00
2017-04-16 23:39:30 +02:00
2017-04-03 21:58:05 +02:00
2017-04-16 23:39:30 +02:00
2017-04-19 14:04:39 +02:00
2017-03-28 15:17:31 +02:00
2017-03-23 18:35:22 +01:00
2017-03-23 18:35:22 +01:00
2017-01-24 11:16:19 +01:00
2017-03-20 16:30:01 +08:00
2017-03-20 16:30:01 +08:00
2017-03-27 10:16:45 +08:00
2017-04-03 09:46:01 -07:00
2017-04-03 09:46:01 -07:00
2017-04-10 13:40:45 -07:00
2016-12-30 18:26:34 +01:00
2017-03-20 16:30:01 +08:00
2016-02-02 19:56:31 -08:00
2017-03-24 15:31:08 -04:00
2017-04-14 19:27:33 +02:00
2017-04-16 23:39:30 +02:00
2016-12-30 18:26:34 +01:00
2017-04-19 14:04:39 +02:00
2017-03-07 09:28:10 -05:00
2017-03-23 18:35:22 +01:00
2017-04-16 23:39:30 +02:00
2017-04-16 23:39:30 +02:00
2017-04-06 15:40:12 -07:00
2016-12-30 18:26:34 +01:00
2017-01-11 14:48:48 -08:00
2016-12-30 18:26:34 +01:00
2017-03-23 18:35:22 +01:00
2017-01-09 11:07:05 +01:00
2017-03-06 16:41:33 +01:00
2017-01-03 11:49:30 +01:00
2017-03-28 15:17:31 +02:00
2017-01-17 12:39:08 +01:00
2017-04-19 15:52:03 +02:00
2016-12-30 18:26:34 +01:00
2017-03-01 21:04:11 +01:00
2017-01-17 12:39:08 +01:00
2017-01-17 12:39:08 +01:00
2016-12-29 11:00:50 +01:00
2016-12-29 11:00:50 +01:00
2016-12-29 11:00:50 +01:00
2016-12-29 11:00:50 +01:00
2017-01-17 12:39:08 +01:00
2016-12-29 11:00:50 +01:00
2016-12-29 11:00:50 +01:00
2017-04-19 14:04:39 +02:00
2017-01-17 12:39:08 +01:00