diff options
| author | Konrad Rzeszutek Wilk | 2015-06-29 22:41:14 +0200 |
|---|---|---|
| committer | Stefano Stabellini | 2015-09-10 18:47:09 +0200 |
| commit | 5b4dd0f55ed3027557ed9a6fd89d5aa379122feb (patch) | |
| tree | b8dc999483223e499693a5c732f878534db49916 /scripts | |
| parent | xen/pt: Sync up the dev.config and data values. (diff) | |
| download | qemu-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
