We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dba55a8 + 0552824 commit 0507f33Copy full SHA for 0507f33
1 file changed
src/wh_utils.c
@@ -83,7 +83,7 @@ uint32_t wh_Utils_ntohl(uint32_t networklong) {
83
84
int wh_Utils_memeqzero(uint8_t* buffer, uint32_t size)
85
{
86
- while (size > 1) {
+ while (size > 0) {
87
size--;
88
if (buffer[size] != 0)
89
return 0;
0 commit comments