Mercurial > hg > nginx-vendor-current
annotate auto/types/uintptr_t @ 670:ad45b044f1e5 NGINX_1_1_19
nginx 1.1.19
*) Security: specially crafted mp4 file might allow to overwrite memory
locations in a worker process if the ngx_http_mp4_module was used,
potentially resulting in arbitrary code execution (CVE-2012-2089).
Thanks to Matthew Daley.
*) Bugfix: nginx/Windows might be terminated abnormally.
Thanks to Vincent Lee.
*) Bugfix: nginx hogged CPU if all servers in an upstream were marked as
"backup".
*) Bugfix: the "allow" and "deny" directives might be inherited
incorrectly if they were used with IPv6 addresses.
*) Bugfix: the "modern_browser" and "ancient_browser" directives might
be inherited incorrectly.
*) Bugfix: timeouts might be handled incorrectly on Solaris/SPARC.
*) Bugfix: in the ngx_http_mp4_module.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 12 Apr 2012 00:00:00 +0400 |
parents | 9fbf3ad94cbf |
children |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
660 | 3 # Copyright (C) Nginx, Inc. |
0 | 4 |
5 | |
4 | 6 echo $ngx_n "checking for uintptr_t ...$ngx_c" |
668 | 7 echo >> $NGX_AUTOCONF_ERR |
8 echo "checking for uintptr_t" >> $NGX_AUTOCONF_ERR | |
0 | 9 |
10 found=no | |
11 | |
12 cat << END > $NGX_AUTOTEST.c | |
13 | |
14 #include <sys/types.h> | |
15 $NGX_INTTYPES_H | |
16 | |
17 int main() { | |
18 uintptr_t i = 0; | |
668 | 19 return (int) i; |
0 | 20 } |
21 | |
22 END | |
23 | |
668 | 24 ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ |
25 -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT" | |
26 | |
27 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" | |
0 | 28 |
29 if [ -x $NGX_AUTOTEST ]; then | |
30 echo " uintptr_t found" | |
31 found=yes | |
32 else | |
33 echo $ngx_n " uintptr_t not found" $ngx_c | |
34 fi | |
35 | |
36 rm $NGX_AUTOTEST* | |
37 | |
38 | |
39 if [ $found = no ]; then | |
40 found="uint`expr 8 \* $ngx_ptr_size`_t" | |
41 echo ", $found used" | |
42 | |
324 | 43 echo "typedef $found uintptr_t;" >> $NGX_AUTO_CONFIG_H |
44 echo "typedef $found intptr_t;" | sed -e 's/u//g' >> $NGX_AUTO_CONFIG_H | |
0 | 45 fi |