diff --git a/CHANGES b/CHANGES index c30a3534..8df030bb 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ -28 Jan 2010 - 2.5.12 +03 Feb 2010 - 2.5.12 -------------------- + * Added additional file info definitions introduced in APR 0.9.5 so that + build will work with older APRs (IBM HTTP Server v6). + * Added SecUploadFileLimit to limit the number of uploaded file parts that will be processed in a multipart POST. The default is 100. diff --git a/apache2/msc_util.h b/apache2/msc_util.h index 612ea9c6..53ccb002 100644 --- a/apache2/msc_util.h +++ b/apache2/msc_util.h @@ -22,6 +22,13 @@ #include #include +#ifndef APR_WSTICKY +/* Add extra flags added to APR in 0.9.5 */ +#define APR_USETID 0x8000 /**< Set user id */ +#define APR_GSETID 0x4000 /**< Set group id */ +#define APR_WSTICKY 0x2000 /**< Sticky bit */ +#endif + #include "modsecurity.h" int DSOLOCAL normalise_path_inplace(unsigned char *input, int len, int win, int *changed);