Fix HTTP header leakage #39
1 changed files with 1 additions and 1 deletions
|
@ -621,7 +621,7 @@ HttpParseHeaders(Stream * fp)
|
||||||
|
|
||||||
strncpy(headerValue, headerPtr, len);
|
strncpy(headerValue, headerPtr, len);
|
||||||
|
|
||||||
HashMapSet(headers, headerKey, headerValue);
|
Free(HashMapSet(headers, headerKey, headerValue));
|
||||||
Free(headerKey);
|
Free(headerKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue