The variable http_error_code could be uninitialized
This could happen when used by UpnpPrintf().
@@ -369,6 +369,7 @@ int http_RecvMessage(SOCKINFO *info,
char *buf;
size_t buf_len = 1024;
+ *http_error_code = HTTP_INTERNAL_SERVER_ERROR;
buf = malloc(buf_len);
if (!buf) {
ret = UPNP_E_OUTOF_MEMORY;
