Files
docker-cli/cli/command
Aaron Lehmann ab6bc5dce6 service: Avoid underflow in logs padding calculation
This command inserts a variable amount of padding in the log line:

    padding := strings.Repeat(" ", f.padding-getMaxLength(task.Slot))

If the service is scaled up, or the slot numbers are noncontiguous, the
subtraction can underflow, causing a crash.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-05-16 12:27:31 -07:00
..
2017-04-17 17:40:59 -04:00
2017-05-08 15:57:50 -04:00
2017-05-11 13:42:49 -07:00
2017-05-08 10:51:30 -07:00
2017-04-17 18:07:56 -04:00
2017-05-02 17:57:46 -04:00
2017-05-02 17:57:46 -04:00
2017-05-03 18:41:19 -07:00
2017-05-03 18:41:19 -07:00
2017-05-03 18:41:19 -07:00
2017-04-17 17:40:59 -04:00
2017-05-08 15:57:50 -04:00