summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLaszlo Ersek2013-08-06 12:37:08 +0200
committerLuiz Capitulino2013-08-08 17:01:45 +0200
commit2cac260768b9d4253737417ea7501cf2950e257f (patch)
tree2599bc433898e4172076b62db91e8acc49849e9d /include
parentfw_cfg: the I/O port variant expects little-endian (diff)
downloadqemu-2cac260768b9d4253737417ea7501cf2950e257f.tar.gz
qemu-2cac260768b9d4253737417ea7501cf2950e257f.tar.xz
qemu-2cac260768b9d4253737417ea7501cf2950e257f.zip
dump: clamp guest-provided mapping lengths to ramblock sizes
Even a trusted & clean-state guest can map more memory than what it was given. Since the vmcore contains RAMBlocks, mapping sizes should be clamped to RAMBlock sizes. Otherwise such oversized mappings can exceed the entire file size, and ELF parsers might refuse even the valid portion of the PT_LOAD entry. Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=981582 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions