A bug has been found in version 7.4 of the Hiawatha webserver, which could lead to a server crash. This is caused by an integer overflow in the routine that reads the HTTP request. A too big value of the Content-Length HTTP header leads to this overflow.
To fix the bug, replace
if (content_length < 0) {at line 421 in hiawatha.c with
if ((content_length < 0) || (INT_MAX - content_length - 2 <= header_length)) {
#include <limits.h>