1. 10 11月, 2017 3 次提交
  2. 06 11月, 2017 5 次提交
  3. 05 9月, 2017 1 次提交
  4. 25 7月, 2017 1 次提交
  5. 09 5月, 2017 4 次提交
  6. 08 5月, 2017 19 次提交
  7. 07 3月, 2017 1 次提交
  8. 25 1月, 2017 1 次提交
  9. 14 11月, 2016 1 次提交
  10. 17 8月, 2016 1 次提交
  11. 16 8月, 2016 2 次提交
  12. 10 8月, 2016 1 次提交
    • C
      KVM: arm64: vgic-its: Handle errors from vgic_add_lpi · 99e5e886
      Christoffer Dall 提交于
      During low memory conditions, we could be dereferencing a NULL pointer
      when vgic_add_lpi fails to allocate memory.
      
      Consider for example this call sequence:
      
        vgic_its_cmd_handle_mapi
            itte->irq = vgic_add_lpi(kvm, lpi_nr);
                update_lpi_config(kvm, itte->irq, NULL);
                    ret = kvm_read_guest(kvm, propbase + irq->intid
      	                                             ^^^^
      						     kaboom?
      
      Instead, return an error pointer from vgic_add_lpi and check the return
      value from its single caller.
      Signed-off-by: NChristoffer Dall <christoffer.dall@linaro.org>
      99e5e886