|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 09/21] fdo: fix str annotation of __FdoMultiSzToUpcaseAnsi
Buffer is a list of strings ending with a double NUL that is first read
before being written to upper case the string in place.
The corresponding WDK typedef for double-NUL terminated strings is PZZSTR.
Annotate buffer accordingly.
Assisted-by: Claude/Opus-5.5
Signed-off-by: Césaire Mounah <cesaire.mounah@xxxxxxxxxx>
---
src/xenvif/fdo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xenvif/fdo.c b/src/xenvif/fdo.c
index 78ac65a..99dce73 100644
--- a/src/xenvif/fdo.c
+++ b/src/xenvif/fdo.c
@@ -848,7 +848,7 @@ done:
static FORCEINLINE PANSI_STRING
__FdoMultiSzToUpcaseAnsi(
- _Out_ PSTR Buffer
+ _Inout_ PZZSTR Buffer
)
{
PANSI_STRING Ansi;
--
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 |