summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68>2021-03-02 00:37:18 +0000
committerylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68>2021-03-02 00:37:18 +0000
commitb9b2d56d891a664d4392027b5205fc5e597d2b34 (patch)
treea9497308b9bb36677fbb9827617ff237287d6c8c /CHANGES
parentf1d56f78676a08eedce58e68d57fa6c428e7eb26 (diff)
downloadlibapr-b9b2d56d891a664d4392027b5205fc5e597d2b34.tar.gz
Align apr_mmap()ing offset to a page boundary. PR 65158.
This is requirement for unix systems, and otherwise can cause failures or undefined behaviour with some filesystems. Add apr_mmap_t->poffset on unixes to track the offset to the previous page, relative to the user requested/actual offset. This allows ->mm and ->size to still point to the actual data, while munmap() now deletes the full range from the start of the page. Tests updated accordingly. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1887060 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 8f9da7b36..e28f629e3 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
-*- coding: utf-8 -*-
Changes for APR 2.0.0
+ *) Align apr_mmap()ing offset to a page boundary. [Yann Ylavic]
+
*) APR's configure script uses AC_TRY_RUN to detect whether the return type
of strerror_r is int. When cross-compiling this defaults to no.