commit | e5f229e6392fd54aaba7fe58f457723c16b9d15f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Oct 15 11:08:55 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Oct 15 13:24:43 2018 +0200 |
tree | 586ce05aefc5e3e810cf56f7e99ac4c90f5b4d4f | |
parent | dd319a5b1df73ab9a1443a27d1cafab0f8de86d6 [diff] |
BUG/MEDIUM: stream: don't crash on out-of-memory In case pool_alloc() fails in stream_new(), we try to detach the stream from the list before it has been added, dereferencing a NULL. In order to fix it, simply move the LIST_DEL call upwards. This must be backported to 1.8.