Pedro Aguilar
142775a52b
env: Crash in 'env import' when using checksum and a specific size
...
This patch adds a sanity check that avoids 'size' to overflow and crash when
importing an environment that contains a checksum. Example with the wrong size
that causes the crash:
=> env import -c 0x4100000 3 v1
This assumes that v1 has already been successfully exported with
'env export -c -s 0x100 0x4100000 v1'
Signed-off-by: Pedro Aguilar <pedro.aguilar@vimar.com>
2020-09-11 17:13:56 -04:00
..
2020-05-18 18:36:55 -04:00
2020-08-08 11:03:52 -04:00
2020-08-25 09:34:47 +08:00
2020-05-18 21:19:18 -04:00
2020-09-01 13:24:45 +08:00
2017-02-08 15:56:28 -05:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-07-17 14:32:24 +08:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-19 14:01:47 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-08-06 14:26:35 -04:00
2020-05-18 21:19:23 -04:00
2020-08-22 07:58:39 -06:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-09-06 21:21:41 +02:00
2020-07-17 08:51:01 -04:00
2020-07-17 10:46:44 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 18:36:55 -04:00
2020-08-05 08:18:34 -04:00
2020-05-18 18:36:55 -04:00
2020-07-28 19:30:39 -06:00
2020-05-18 18:36:55 -04:00
2020-05-27 14:40:09 +08:00
2020-08-24 11:03:26 +02:00
2020-08-24 14:11:31 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-08-14 15:18:30 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-07-07 15:37:13 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:23 -04:00
2020-09-06 21:21:41 +02:00
2020-08-13 22:37:36 +02:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 18:36:55 -04:00
2020-07-09 18:57:22 -06:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-07-07 15:36:59 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-07-28 19:30:39 -06:00
2020-05-18 21:19:23 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:23 -04:00
2020-08-27 11:26:39 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2019-12-04 17:10:51 -05:00
2019-12-04 17:10:51 -05:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:23 -04:00
2020-07-09 18:57:22 -06:00
2020-07-16 12:37:02 +02:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-08-14 15:18:30 -04:00
2020-05-18 18:36:55 -04:00
2020-08-03 22:19:54 -04:00
2020-08-27 11:26:58 -04:00
2020-05-18 18:36:55 -04:00
2020-08-03 22:19:54 -04:00
2020-05-18 21:19:23 -04:00
2020-06-24 09:51:22 +08:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-06-12 13:17:23 -04:00
2020-08-24 16:37:53 +02:00
2020-09-11 17:13:56 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-07-08 17:21:46 -04:00
2020-07-07 15:22:42 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-08-14 15:18:30 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-07-09 06:02:45 +02:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-06-29 13:34:43 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-06-29 13:34:43 -04:00
2020-05-18 21:19:18 -04:00
2020-08-07 22:31:32 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-09-01 14:47:43 +02:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-08-03 22:19:54 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-25 11:54:53 -04:00