Created attachment 29959 [details] [PATCH] move struct crypt_data allocation to heap in apr_password_validate Hi, When compiled with CRYPT_R_STRUCT_CRYPT_DATA defined, the apr_password_validate function allocates a struct crypt_data variable on the stack. The crypt_data struct is a GNU extension, whose glibc's version has a size of roughly 128k. This patch against the apr trunk changes the stack-based allocation of this variable to a heap-based one. We use Apache HTTPd 2.2.23 / APR 1.4.6 with the worker mpm, and this function was the only thing preventing us to set the ThreadStackSize at 128k (131072). I am aware that some common modules are not playing well with such a low stack size, but in our case everything is working fine with this patch applied. Regards, Remi Gacogne Aqua Ray SAS
trunk commit: r1460243
1.5 commit: r1460279
fixed in 1.5.2