summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2016-03-15 18:41:57 +0000
committerStefan Bühler <stbuehler@web.de>2016-03-15 18:41:57 +0000
commit224bf545c1da26f1996e8d6d3a0d2bc33c6f3d95 (patch)
tree7619fb0b6c6837a76845fcd597980bb613878c22 /NEWS
parentbe121a638b9417cbb83c829f72f0b1a6cbdc48fe (diff)
downloadlighttpd-git-224bf545c1da26f1996e8d6d3a0d2bc33c6f3d95.tar.gz
[core] refactor array search; raise array size limit to SSIZE_MAX
- raise array size limit from INT_MAX to SSIZE_MAX. INT_MAX already is way to high to be hit in any sane scenario, but SSIZE_MAX can *obviously* not be hit due to memory constraints. - use size_t for array indices instead of int - use binary search instead of next_power_of_2 hack; document invariants and check them in debug mode (asserts). - return the actual insert position instead of something near From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3100 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index aea92ca7..06178ea8 100644
--- a/NEWS
+++ b/NEWS
@@ -28,6 +28,7 @@ NEWS
* [mod_secdownload] fix buffer overflow in secdl_verify_mac (reported by Fortify Open Review Project)
* [mod_fastcgi,mod_scgi] fix leaking file-descriptor when backend spawning failed (reported by Fortify Open Review Project)
* [core] improve array API to prevent memory leaks
+ * [core] refactor array search; raise array size limit to SSIZE_MAX
- 1.4.39 - 2016-01-02
* [core] fix memset_s call (fixes #2698)