Ilias Apalodimas
db94dfbd52
efi_loader: Trim output buffer size correctly for tee variables
...
The current code does not trim the output buffer correctly.
In fact it doesn't trim the buffer at all, since it calculates a wrong
value for it, which isn't even applied.
So let's remove the unused temporary size variable and trim the buffer
correctly.
Since we are editing efi_get_next_variable_name_int(), fix an indentation
error along the way.
Fixes: f042e47e8f
("efi_loader: Implement EFI variable handling via OP-TEE")
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org >
Remove superfluous conversion to (u8 *) for memcpy argument.
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de >
2020-08-01 11:57:41 +02:00
..
2020-07-17 14:32:24 +08:00
2020-01-17 10:16:29 -05:00
2020-05-18 21:19:18 -04:00
2020-07-22 12:37:17 +02:00
2020-05-18 18:36:55 -04:00
2020-05-18 17:33:33 -04:00
2020-05-18 21:19:18 -04:00
2020-08-01 11:57:41 +02:00
2020-07-11 23:14:17 +02:00
2020-05-18 21:19:18 -04:00
2020-04-26 14:23:55 -06:00
2020-05-18 21:19:18 -04:00
2020-06-15 11:23:40 -04:00
2020-07-11 23:14:16 +02:00
2020-07-17 08:51:29 -04:00
2020-02-05 19:33:46 -07:00
2020-01-22 17:47:57 -05:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-07-17 14:32:24 +08:00
2020-05-09 09:30:28 +02:00
2020-05-18 21:19:18 -04:00
2019-12-02 18:23:07 -05:00
2018-12-08 20:18:44 -05:00
2019-12-02 18:23:08 -05:00
2019-12-06 16:44:19 -05:00
2020-07-08 17:21:46 -04:00
2020-05-18 21:19:23 -04:00
2020-03-03 13:08:14 +05:30
2019-10-31 07:22:53 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-07-25 14:46:57 -06:00
2020-05-18 17:33:33 -04:00
2019-08-11 16:43:41 -04:00
2020-01-17 17:53:40 -05:00
2020-07-31 10:13:00 -04:00
2020-04-24 10:51:32 -04:00
2020-05-18 21:19:18 -04:00
2020-07-10 14:10:43 -04:00
2020-05-18 17:33:31 -04:00
2020-05-18 21:19:18 -04:00
2020-07-17 09:30:13 -04:00
2020-07-17 08:45:29 -04:00
2020-06-12 13:14:07 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 17:33:31 -04:00
2020-05-18 21:19:18 -04:00
2019-12-06 16:44:20 -05:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2019-12-02 18:23:07 -05:00
2020-06-12 13:14:07 -04:00
2020-05-18 21:19:18 -04:00
2020-06-05 04:04:41 +02:00
2020-02-05 19:33:46 -07:00
2020-06-15 11:23:41 -04:00
2020-07-17 14:32:24 +08:00
2020-05-01 11:03:24 -04:00
2020-05-18 21:19:18 -04:00
2018-11-29 09:30:06 -07:00
2020-05-18 21:19:18 -04:00
2020-07-08 15:38:32 -04:00
2020-07-07 18:23:48 -04:00
2020-05-18 18:36:55 -04:00
2020-07-01 11:48:05 -04:00
2019-05-05 08:48:50 -04:00