commit | d3ea6b7dc7a9baccb71b28171c80c44fbc5a8c33 | [log] [tgz] |
---|---|---|
author | Ivan Gorinov <ivan.gorinov@intel.com> | Fri May 11 13:18:25 2018 -0700 |
committer | Alexander Graf <agraf@suse.de> | Sun Jun 03 15:27:20 2018 +0200 |
tree | 29eed9b5140dbaa75a9547038aa95713495fac6b | |
parent | 7d2ffbcf1532f9cf5bb14d6ca885cfdc36753c50 [diff] |
efi_loader: fix off-by-one bug in efi_get_variable efi_get_variable() always stores an extra zero byte after the output data. When the returned data size matches the output buffer size, the extra zero byte is stored past the end of the output buffer. Signed-off-by: Ivan Gorinov <ivan.gorinov@intel.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>