1. 19 6月, 2015 2 次提交
  2. 12 6月, 2015 2 次提交
  3. 05 6月, 2015 7 次提交
  4. 30 4月, 2015 1 次提交
  5. 28 4月, 2015 5 次提交
  6. 26 4月, 2015 5 次提交
  7. 01 4月, 2015 1 次提交
  8. 26 3月, 2015 1 次提交
    • P
      exec: avoid possible overwriting of mmaped area in qemu_ram_remap · f18c69cf
      Paolo Bonzini 提交于
      It is not necessary to munmap an area before remapping it with MAP_FIXED;
      if the memory region specified by addr and len overlaps pages of any
      existing mapping, then the overlapped part of the existing mapping will
      be discarded.
      
      On the other hand, if QEMU does munmap the pages, there is a small
      probability that another mmap sneaks in and catches the just-freed
      portion of the address space.  In effect, munmap followed by
      mmap(MAP_FIXED) is a use-after-free error, and Coverity flags it
      as such.  Fix it.
      Reviewed-by: NGonglei <arei.gonglei@huawei.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      f18c69cf
  9. 18 3月, 2015 1 次提交
    • P
      exec: Respect as_tranlsate_internal length clamp · c3c1bb99
      Peter Crosthwaite 提交于
      address_space_translate_internal will clamp the *plen length argument
      based on the size of the memory region being queried. The iommu walker
      logic in addresss_space_translate was ignoring this by discarding the
      post fn call value of *plen. Fix by just always using *plen as the
      length argument throughout the fn, removing the len local variable.
      
      This fixes a bootloader bug when a single elf section spans multiple
      QEMU memory regions.
      Signed-off-by: NPeter Crosthwaite <peter.crosthwaite@xilinx.com>
      Message-Id: <1426570554-15940-1-git-send-email-peter.crosthwaite@xilinx.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      c3c1bb99
  10. 12 3月, 2015 3 次提交
  11. 10 3月, 2015 2 次提交
  12. 26 2月, 2015 1 次提交
  13. 17 2月, 2015 7 次提交
  14. 11 2月, 2015 1 次提交
  15. 26 1月, 2015 1 次提交