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;
|
||||
return;
|
||||
}
|
||||
if (dlen < c->ptr - sizeof(dlen)) {
|
||||
if (dlen > c->ptr - sizeof(dlen)) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user