mirror of
https://git.telodendria.io/Telodendria/Cytoplasm.git
synced 2024-11-22 04:00:47 +03:00
Merge pull request 'Fix HTTP header leakage' (#39) from lda/Cytoplasm:fix-duplicate-leak into master
Reviewed-on: https://git.telodendria.io/Telodendria/Cytoplasm/pulls/39
This commit is contained in:
commit
c3646294f5
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