Files
xen/tools
Juergen Gross e2b7fa7508 tools/xenstore: don't let remove_child_entry() call corrupt()
In case of write_node() returning an error, remove_child_entry() will
call corrupt() today. This could result in an endless recursion, as
remove_child_entry() is called by corrupt(), too:

corrupt()
  check_store()
    check_store_()
      remove_child_entry()

Fix that by letting remove_child_entry() return an error instead and
let the caller decide what to do.

This is part of XSA-418 / CVE-2022-42321.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
(cherry picked from commit 0c00c51f3b)
2022-11-01 15:25:15 +00:00
..
2019-11-12 10:39:01 +00:00
2020-11-09 17:57:10 +00:00
2018-11-20 14:42:50 +00:00
2018-11-28 16:12:44 +00:00
2020-06-24 16:51:16 +02:00
2022-07-12 16:33:19 +01:00