|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 0/5] xeniface: fixes from static analysis
These patches fix issues found by running CodeQL (Microsoft
windows-drivers suites and cpp-security-extended) on xeniface.
Césaire Mounah (5):
xenagent: Use new (std::nothrow) where the result is checked for NULL
xenagent: Let CXenIfaceDevice release its own registrations
xeniface: Reject unaligned addresses in
GNTTAB_PERMIT_FOREIGN_ACCESS_V2
xeniface: Size converted MAP_FOREIGN_PAGES input with the V2 header
xeniface: Bound NumberPermissions before checking the input length
src/xenagent/convdevice.cpp | 3 +-
src/xenagent/devicelist.cpp | 11 +-
src/xenagent/xenifacedevice.cpp | 177 +++++++++++++++++---------------
src/xenagent/xenifacedevice.h | 20 ++--
src/xeniface/ioctl_gnttab.c | 6 +-
src/xeniface/ioctl_store.c | 5 +
6 files changed, 125 insertions(+), 97 deletions(-)
--
2.55.0.windows.5
--
Césaire Mounah | Vates Windows Guest Tools Engineer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |