commit | 09c4bab41188c13e7a9227f8baaff230ebdd0875 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Feb 10 18:49:37 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Feb 10 18:49:37 2019 +0100 |
tree | 44715fbe3fd2db782e855a41fc49373d1d015559 | |
parent | 4ddf59d070fbb208d8f8a86f2ceef171484350eb [diff] |
BUG/MAJOR: stream: avoid double free on unique_id Commit 32211a1 ("BUG/MEDIUM: stream: Don't forget to free s->unique_id in stream_free().") addressed a memory leak but in exchange may cause double-free due to the fact that after freeing s->unique_id it doesn't null it and then calls http_end_txn() which frees it again. Thus the process quickly crashes at runtime. This fix must be backported to all stable branches where the aforementioned patch was backported.