stop if there is not enough data
This commit is contained in:
@@ -916,7 +916,7 @@ handle_read(struct client *c)
|
|||||||
c->flags &= ~WAITING_READ;
|
c->flags &= ~WAITING_READ;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (dlen < c->ptr - sizeof(dlen)) {
|
if (dlen > c->ptr - sizeof(dlen)) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user