diff options
| author | Prasad J Pandit <pjp@fedoraproject.org> | 2018-10-26 18:03:58 +0530 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2018-11-08 12:04:40 +1100 |
| commit | d07945e78eb6b593cd17a4640c1fc9eb35e3245d (patch) | |
| tree | eac18888eac783c1f679505842d400166ba4b78e /scripts/qapi/introspect.py | |
| parent | b8edea50a7b8fba52ec3d8222f09991bea8add85 (diff) | |
| download | focaccia-qemu-d07945e78eb6b593cd17a4640c1fc9eb35e3245d.tar.gz focaccia-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/qapi/introspect.py')
0 files changed, 0 insertions, 0 deletions