Added three missing checks for NULL after ngx_array_push() calls.

Found by Coverity.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4812 73f98a42-aea0-e011-b76d-00259023448c
Corrected the directive name in the ngx_mail_auth_http_module error message.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4813 73f98a42-aea0-e011-b76d-00259023448c
mail_core: don't let the well-known port in the "listen" directive to
override the already set "protocol".


git-svn-id: svn://svn.nginx.org/nginx/trunk@4814 73f98a42-aea0-e011-b76d-00259023448c
Map: fixed optimization of variables as values.

Previous code incorrectly used ctx->var_values as an array of pointers to
ngx_http_variable_value_t, but the array contains structures, not pointers.
Additionally, ctx->var_values inspection failed to properly set var on
match.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4815 73f98a42-aea0-e011-b76d-00259023448c
Crypt: fixed handling of corrupted SSHA entries in password file.

Found by Coverity.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4816 73f98a42-aea0-e011-b76d-00259023448c
Geo: fixed handling of ranges without default set.

The bug had appeared in 0.8.43 (r3653).  Patch by Weibin Yao.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4817 73f98a42-aea0-e011-b76d-00259023448c
Mail: fixed sorting of listen addresses (ticket #187).

For http module this problem was already fixed in r4756.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4818 73f98a42-aea0-e011-b76d-00259023448c
Removed a stale "AF_INET only" comment.

IPv6 client connections in mail modules have been supported since r2856.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4819 73f98a42-aea0-e011-b76d-00259023448c
Mail: fixed handling of AF_UNIX addresses in "listen".

This makes AF_UNIX addresses in mail officially supported.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4820 73f98a42-aea0-e011-b76d-00259023448c
Mp4: removed restriction to avc1/mp4a formats (ticket #194).


git-svn-id: svn://svn.nginx.org/nginx/trunk@4821 73f98a42-aea0-e011-b76d-00259023448c
Mark logically dead code with corresponding comment.

Found by Coverity.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4822 73f98a42-aea0-e011-b76d-00259023448c
Whitespace fix.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4823 73f98a42-aea0-e011-b76d-00259023448c
Radix tree preallocation fix.

The preallocation size was calculated incorrectly and was always 8 due to
sizeof(ngx_radix_tree_t) accidentally used instead of sizeof(ngx_radix_node_t).


git-svn-id: svn://svn.nginx.org/nginx/trunk@4824 73f98a42-aea0-e011-b76d-00259023448c
nginx-1.3.5-RELEASE


git-svn-id: svn://svn.nginx.org/nginx/trunk@4825 73f98a42-aea0-e011-b76d-00259023448c
Version bump.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4827 73f98a42-aea0-e011-b76d-00259023448c
Fixed the "include" directive.

The "include" directive should be able to include multiple files if
given a filename mask.  Fixed this to work for "include" directives
inside the "map" or "types" blocks.  The "include" directive inside
the "geo" block is still not fixed.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4828 73f98a42-aea0-e011-b76d-00259023448c
Fixed strict aliasing bugs when dealing with IPv4-mapped IPv6 addresses
(closes #201).


git-svn-id: svn://svn.nginx.org/nginx/trunk@4829 73f98a42-aea0-e011-b76d-00259023448c
Fixed overflow if ngx_slab_alloc() is called with very big "size" argument.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4830 73f98a42-aea0-e011-b76d-00259023448c
Converted DOS-style newlines.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4831 73f98a42-aea0-e011-b76d-00259023448c
Pass changes.xml thru xmllint when generating CHANGES and CHANGES.ru.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4832 73f98a42-aea0-e011-b76d-00259023448c