Branch: refs/heads/next
  Home:   https://github.com/siemens/jailhouse
  Commit: 2389d9b3392c4adac3c9cb31f8dc2c2e96177292
      
https://github.com/siemens/jailhouse/commit/2389d9b3392c4adac3c9cb31f8dc2c2e96177292
  Author: Göktürk Yüksek <[email protected]>
  Date:   2017-08-03 (Thu, 03 Aug 2017)

  Changed paths:
    M driver/main.c

  Log Message:
  -----------
  driver: handle a NULL pointer reference on the error path

In the function jailhouse_hypervisor_enable(), jumping to the label
error_unmap results in a call to jailhouse_free_firmware() which
releases hypervisor_mem_res and sets it to NULL. However, the
execution proceeds to the label error_release_memreg and tries to
access hypervisor_mem_res->start, which triggers a NULL pointer
reference.

Fix the problem for explicitly checking against the NULL pointer.

Signed-off-by: Göktürk Yüksek <[email protected]>
[Jan: tune wording of comment]
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: e2fa9ffd158812aa4c1a267d62f00cf4202e23c1
      
https://github.com/siemens/jailhouse/commit/e2fa9ffd158812aa4c1a267d62f00cf4202e23c1
  Author: Gustavo Lima Chaves <[email protected]>
  Date:   2017-08-03 (Thu, 03 Aug 2017)

  Changed paths:
    M tools/jailhouse-config-create
    M tools/root-cell-config.c.tmpl

  Log Message:
  -----------
  tools: config-create: Use number of int sources for vtd int limit

We were sticking to hardcoded 256 entries there. We now scale better
for systems with more PCI device entries.

Signed-off-by: Gustavo Lima Chaves <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


Compare: 
https://github.com/siemens/jailhouse/compare/0d6d5c661889...e2fa9ffd1588

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to