[PATCH resend] server: Avoid reqeuests with null pointer but invalid size.