00c518411b288f860849c5554187f6c5d13f6549
Using a value such as `--cpuset-mems=1-9223372036854775807` would cause `dockerd` to run out of memory allocating a map of the values in the validation code. Set limits to the normal limit of the number of CPUs, and improve the error handling. Reported by Huawei PSIRT. Signed-off-by: Justin Cormack <justin.cormack@docker.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit f8e876d7616469d07b8b049ecb48967eeb8fa7a5) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 0922d32bce74657266aff213f83dfa638e8077f4 Component: engine
Description
No description provided
310 MiB
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%