]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Merge r1772919 from trunk:
authorJim Jagielski <jim@apache.org>
Wed, 7 Dec 2016 12:57:08 +0000 (12:57 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 7 Dec 2016 12:57:08 +0000 (12:57 +0000)
commitd049e3ce42b89ba66c17b0cd8c4c5992ec2b12fe
treed3be2c783b4f20e3cc8b6db7a6c025cbd8ed9eb1
parent918631bd230b60b044e342d1a754ecc0b85269a9
Merge r1772919 from trunk:

mod_auth_digest: fix segfaults during shared memory exhaustion

The apr_rmm_addr_get/apr_rmm_malloc() combination did not correctly
check for a malloc failure, leading to crashes when we ran out of the
limited space provided by AuthDigestShmemSize. This patch replaces all
these calls with a helper function that performs this check.

Additionally, fix a NULL-check bug during entry garbage collection.
Submitted by: jchampion
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1773069 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
STATUS
modules/aaa/mod_auth_digest.c