summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk2015-06-29 22:41:14 +0200
committerStefano Stabellini2015-09-10 18:47:09 +0200
commit5b4dd0f55ed3027557ed9a6fd89d5aa379122feb (patch)
treeb8dc999483223e499693a5c732f878534db49916 /scripts
parentxen/pt: Sync up the dev.config and data values. (diff)
downloadqemu-5b4dd0f55ed3027557ed9a6fd89d5aa379122feb.tar.gz
qemu-5b4dd0f55ed3027557ed9a6fd89d5aa379122feb.tar.xz
qemu-5b4dd0f55ed3027557ed9a6fd89d5aa379122feb.zip
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 'scripts')
0 files changed, 0 insertions, 0 deletions