commit | 69d50db53aab595b17526013a06ad5d9f575346c | [log] [tgz] |
---|---|---|
author | Jakub Rzeszutko <jakub.rzeszutko@verkada.com> | Fri Oct 13 09:50:17 2023 +0200 |
committer | Johan Hedberg <johan.hedberg@gmail.com> | Fri Oct 13 13:11:28 2023 +0300 |
tree | 3d59a094653d2756ab7e80c074c27bb8bb9f632e | |
parent | 4b5331ba45b037f0e5a791da96b533d5c7253fc7 [diff] |
shell: fix a memory corruption coverity issue Added a condition to check if the size of the copied memory is a positive number. Fixes #58700 Fixes #58703 Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@verkada.com>