The official NGINX Open Source repository.
Go to file
Maxim Dounin 5b59ed2e0a 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.
2013-02-11 12:37:06 +00:00
auto Merge of r4961: configure: better check for PCRE JIT. 2013-02-10 03:18:08 +00:00
conf Added the HTTPS fastcgi_param to fastcgi.conf. 2011-12-25 19:15:56 +00:00
contrib nginx-0.3.55-RELEASE import 2006-07-28 15:16:17 +00:00
docs nginx-1.2.6-RELEASE 2012-12-11 14:24:23 +00:00
misc Merge of r4870, r4871, r4890, r4895: minor fixes. 2012-11-12 18:39:51 +00:00
src Merge of r4983: crypt_r() error handling fixed. 2013-02-11 12:37:06 +00:00
.hgtags release-1.2.6 tag 2012-12-11 14:26:07 +00:00