summaryrefslogtreecommitdiffstats
path: root/target-sh4
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2015-06-29 16:41:14 -0400
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2015-09-10 16:47:09 +0000
commit5b4dd0f55ed3027557ed9a6fd89d5aa379122feb (patch)
treeb8dc999483223e499693a5c732f878534db49916 /target-sh4
parent2e87512eccf3c5e40f3142ff5a763f4f850839f4 (diff)
downloadhqemu-5b4dd0f55ed3027557ed9a6fd89d5aa379122feb.zip
hqemu-5b4dd0f55ed3027557ed9a6fd89d5aa379122feb.tar.gz
xen/pt: Check if reg->init function sets the 'data' past the reg->size
It should never happen, but in case it does (an developer adds a new register and the 'init_val' expands past the register size) we want to report. The code will only write up to reg->size so there is no runtime danger of the register spilling across other ones - however to catch this sort of thing we still return an error. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'target-sh4')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud