diff options
| author | Prasad J Pandit | 2018-10-26 14:33:58 +0200 |
|---|---|---|
| committer | David Gibson | 2018-11-08 02:04:40 +0100 |
| commit | d07945e78eb6b593cd17a4640c1fc9eb35e3245d (patch) | |
| tree | eac18888eac783c1f679505842d400166ba4b78e /scripts/git-submodule.sh | |
| parent | target/ppc: fix mtmsr instruction for icount (diff) | |
| download | qemu-d07945e78eb6b593cd17a4640c1fc9eb35e3245d.tar.gz qemu-d07945e78eb6b593cd17a4640c1fc9eb35e3245d.tar.xz qemu-d07945e78eb6b593cd17a4640c1fc9eb35e3245d.zip | |
ppc/pnv: check size before data buffer access
While performing PowerNV memory r/w operations, the access length
'sz' could exceed the data[4] buffer size. Add check to avoid OOB
access.
Reported-by: Moguofang <moguofang@huawei.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/git-submodule.sh')
0 files changed, 0 insertions, 0 deletions
