]> Git Repo - qemu.git/commit
qed: don't pass NULL to memcpy
authorPavel Borzenkov <[email protected]>
Tue, 18 Oct 2011 17:17:35 +0000 (21:17 +0400)
committerStefan Hajnoczi <[email protected]>
Wed, 26 Oct 2011 12:36:35 +0000 (13:36 +0100)
commitfeba23b14340965b9dad9251ec9a7a47313fbf69
tree38806b29e669df865755b76ac8a069bf43b01b03
parent8379e46d1fd681b8aa4714382e2cdab05e5d0575
qed: don't pass NULL to memcpy

Spotted by Clang Analyzer

[Note this memcpy call has always been safe because the length will be 0
when the pointer is NULL]

Signed-off-by: Pavel Borzenkov <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
block/qed.c
This page took 0.021291 seconds and 4 git commands to generate.