1. 11 Aug, 2020 1 commit
  2. 10 Aug, 2020 2 commits
  3. 09 Aug, 2020 1 commit
  4. 01 Aug, 2020 11 commits
  5. 31 Jul, 2020 11 commits
  6. 30 Jul, 2020 1 commit
    • Paolo Bonzini's avatar
      fw_cfg: avoid index out of bounds · 82147b77
      Paolo Bonzini authored
      clang compilation fails with
      
      lib/x86/fwcfg.c:32:3: error: array index 17 is past the end of the array (which contains 16 elements) [-Werror,-Warray-bounds]
                      fw_override[FW_CFG_MAX_RAM] = atol(str) * 1024 * 1024;
      
      The reason is that FW_CFG_MAX_RAM does not exist in the fw-cfg spec and was
      added for bare metal support.  Fix the size of the array and rename FW_CFG_MAX_ENTRY
      to FW_CFG_NUM_ENTRIES, so that it is clear that it must be one plus the
      highest valid entry.
      Signed-off-by: Paolo Bonzini's avatarPaolo Bonzini <[email protected]>
      82147b77
  7. 28 Jul, 2020 7 commits
  8. 10 Jul, 2020 4 commits
  9. 08 Jul, 2020 2 commits