commit b3deee7b389408c9c2248fecfd2d1c6bc47e9c97 from: Omar Polo date: Mon Dec 28 16:50:26 2020 UTC initialize error string to avoid returning garbage commit - 3d9a1c73de100ab3f6207af3700121e9a3607a1b commit + b3deee7b389408c9c2248fecfd2d1c6bc47e9c97 blob - 1f96c7db0550c42447efd4f2524b4b7f4dbb0c83 blob + 912bc8a40a649bd467649300e5748a34a80ba7a3 --- gmid.c +++ gmid.c @@ -514,6 +514,7 @@ handle(struct pollfd *fds, struct client *client) return; } + parse_err = "invalid request"; if (!trim_req_uri(buf) || !parse_uri(buf, &uri, &parse_err)) { if (!start_reply(fds, client, BAD_REQUEST, parse_err)) return;