Mercurial > hg > nginx-quic
annotate auto/lib/sha1/makefile.msvc @ 5082:42a888fdad0b
Fixed potential segfault in ngx_http_keepalive_handler().
In case of error in the read event handling we close a connection
by calling ngx_http_close_connection(), that also destroys connection
pool. Thereafter, an attempt to free a buffer (added in r4892) that
was allocated from the pool could cause SIGSEGV and is meaningless
as well (the buffer already freed with the pool).
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Sat, 23 Feb 2013 13:23:48 +0000 |
parents | d620f497c50f |
children |
rev | line source |
---|---|
653 | 1 |
2 # Copyright (C) Igor Sysoev | |
4412 | 3 # Copyright (C) Nginx, Inc. |
653 | 4 |
5 | |
6 CFLAGS = -nologo -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT) -D L_ENDIAN | |
7 | |
675 | 8 !IF "$(SHA1_ASM)" == "YES" |
653 | 9 |
10 sha1.lib: | |
2838
ecdc41bf2047
backout r2833: CURDIR was set to Unix style path
Igor Sysoev <igor@sysoev.ru>
parents:
675
diff
changeset
|
11 cd $(SHA1) |
653 | 12 cl -c $(CFLAGS) -D SHA1_ASM sha1dgst.c |
13 link -lib -out:sha1.lib sha1dgst.obj asm/s-win32.obj | |
14 | |
675 | 15 !ELSE |
653 | 16 |
17 sha1.lib: | |
2838
ecdc41bf2047
backout r2833: CURDIR was set to Unix style path
Igor Sysoev <igor@sysoev.ru>
parents:
675
diff
changeset
|
18 cd $(SHA1) |
653 | 19 cl -c $(CFLAGS) sha1dgst.c |
20 link -lib -out:sha1.lib sha1dgst.obj | |
21 | |
675 | 22 !ENDIF |