commit | cde1bc64cbdb76a04ecea8e2da74437498301275 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Oct 28 20:36:00 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Oct 28 20:36:00 2018 +0100 |
tree | f0f13e103f04ebaa72c626569d430a95c6b352be | |
parent | 9d9ccdbf8b1178fefa2843c83bc6612733f9eca6 [diff] |
BUG/MINOR: backend: assign the wait list after the error check Commit 85b73e9 ("BUG/MEDIUM: stream: Make sure polling is right on retry.") introduced a possible null dereference on the error path detected by gcc-7. Let's simply assign srv_conn after checking the error and not before. No backport is needed.