summaryrefslogtreecommitdiff
path: root/lib/linux_string.c
diff options
context:
space:
mode:
authorIvan Gorinov <[email protected]>2018-05-11 13:18:25 -0700
committerAlexander Graf <[email protected]>2018-06-03 15:27:20 +0200
commitd73c8bc052f9b5f472b59ccd3c88e3ecc6359075 (patch)
tree29eed9b5140dbaa75a9547038aa95713495fac6b /lib/linux_string.c
parent71cee4ce68e19c0bf67e5b587ba2e1b940d18d09 (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 <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
Diffstat (limited to 'lib/linux_string.c')
0 files changed, 0 insertions, 0 deletions