
8 Feb
2019
8 Feb
'19
5:11 a.m.
On Mon, 4 Feb 2019 at 17:38, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
When in pack_byte_string() memcpy() is called for size 0 the source buffer address has no relevance. So we can use NULL here.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
lib/tpm-v1.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org