Mercurial > hg > nginx
view misc/README @ 5050:f9a29f401770 stable-1.2
Merge of r4983: crypt_r() error handling fixed.
The crypt_r() function returns NULL on errors, check it explicitly instead
of assuming errno will remain 0 if there are no errors (per POSIX, the
setting of errno after a successful call to a function is unspecified
unless the description of that function specifies that errno shall not
be modified).
Additionally, dropped unneeded ngx_set_errno(0) and fixed error handling
of memory allocation after normal crypt(), which was inapropriate and
resulted in null pointer dereference on allocation failures.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 11 Feb 2013 12:37:06 +0000 |
parents | 7e24168b0853 |
children | 09dbd363050a |
line wrap: on
line source
GNUmakefile, in svn it is available since 0.4.0 only. make -f misc/GNUmakefile release the required tools: *) xsltproc to build CHANGES, *) java and XSLScript ( http://pault.com/pault/XSLScript/ ) to build XSLTs from XSLScript sources. make -f misc/GNUmakefile icons the required tool: *) netpbm to create Win32 icons from xpm sources.