]> git.kaiwu.me - nginx.git/commit
Upstream: restored workaround for "if".
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 30 Apr 2014 15:16:55 +0000 (19:16 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 30 Apr 2014 15:16:55 +0000 (19:16 +0400)
commit094bfc6beb3672863bd3475c2549628fcb03b7e6
tree6b7638107ffe457432b51372c85a31e0e04b0662
parentaa28897b22f1e5f6c2345545099bf815232b6a7b
Upstream: restored workaround for "if".

The 7022564a9e0e changeset made ineffective workaround from 2464ccebdb52
to avoid NULL pointer dereference with "if".  It is now restored by
moving the u->ssl_name initialization after the check.

Found by Coverity (CID 1210408).
src/http/ngx_http_upstream.c