Fix SAL annotation for missing memset
* Process Hacker -
* http/http2/dns wrappers
*
- * Copyright (C) 2017-2020 dmex
+ * Copyright (C) 2017-2022 dmex
*
* This file is part of Process Hacker.
*
@@ -699,6 +699,8 @@ NTSTATUS PhHttpSocketDownloadToFile(
return status;
}
+ memset(buffer, 0, sizeof(buffer));
+
while (PhHttpSocketReadData(HttpContext, buffer, PAGE_SIZE, &numberOfBytesRead))
{
if (numberOfBytesRead == 0)
