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