Xen Test Framework
XSA-316

Advisory: XSA-316

XSA-316 describes an issue with error handling in GNTTABOP_map_grant operation code.

Grant table operations are expected to return 0 for success, and a negative number for errors. Some misplaced brackets cause one error path to return 1 instead of a negative value.

See also
tests/xsa-316/main.c