Files
xen/tools
Jason Andryuk 1b4e935f45 tools/xenstored: Check NULL domain in domain_chk_quota()
With separate control and xenstore domains, the xenstore domain itself
is no longer privileged.  Local socket connections do not have
conn->domain assigned, but domain_chk_quota() will go ahead and
dereference it.  The !domid_is_unprivileged(conn->id) check usually
means the function would have already returned.

Bail out on !conn->domain to avoid faulting.  This adds a similar check
to that in domain_max_chk()

Signed-off-by: Jason Andryuk <jason.andryuk@amd.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
2025-08-19 11:03:52 +02:00
..
2024-09-04 16:06:21 +02:00
2024-05-15 19:59:52 +01:00
2025-06-02 10:31:21 +02:00
2025-06-02 10:31:21 +02:00
2025-06-02 10:31:21 +02:00
2025-06-02 10:31:21 +02:00