Mercurial > hg > nginx
annotate auto/lib/sha1/makefile.owc @ 6348:7316c57e4fe7
Resolver: fixed crashes in timeout handler.
If one or more requests were waiting for a response, then after
getting a CNAME response, the timeout event on the first request
remained active, pointing to the wrong node with an empty
rn->waiting list, and that could cause either null pointer
dereference or use-after-free memory access if this timeout
expired.
If several requests were waiting for a response, and the first
request terminated (e.g., due to client closing a connection),
other requests were left without a timeout and could potentially
wait indefinitely.
This is fixed by introducing per-request independent timeouts.
This change also reverts 954867a2f0a6 and 5004210e8c78.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 26 Jan 2016 16:46:31 +0300 |
parents | d620f497c50f |
children |
rev | line source |
---|---|
653 | 1 |
2 # Copyright (C) Igor Sysoev | |
4412 | 3 # Copyright (C) Nginx, Inc. |
653 | 4 |
5 | |
6 CFLAGS = -zq -bt=nt -bm -ot -op -oi -oe -s $(CPU_OPT) | |
7 | |
8 sha1.lib: | |
2838
ecdc41bf2047
backout r2833: CURDIR was set to Unix style path
Igor Sysoev <igor@sysoev.ru>
parents:
653
diff
changeset
|
9 cd $(SHA1) |
653 | 10 wcl386 -c $(CFLAGS) -dL_ENDIAN sha1dgst.c |
11 wlib -n sha1.lib sha1dgst.obj |