diff options
author | Stefan Bühler <stbuehler@web.de> | 2016-03-25 16:58:16 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2016-03-25 16:58:16 +0000 |
commit | 0a61fdecacd6196f44bde9a59a3d7fb6f8351cbe (patch) | |
tree | 53e03391bbbcd60b61ae929955b31728208fa84c /NEWS | |
parent | 82bee8d5c38b7773eb8e1531142aaeb595cb118c (diff) | |
download | lighttpd-git-0a61fdecacd6196f44bde9a59a3d7fb6f8351cbe.tar.gz |
[buffer] refactor buffer_path_simplify (fixes #2560)
There actually was one bug: if the input consisted only of spaces,
it would read one byte too much.
`pre` was splitted into `pre2` and (already existing) `pre1` - the two
characters which were read before the current one in `c`.
Restructuring the loop eliminated some code before the loop, which was
similar to the one at the end of the loop.
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3120 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -46,6 +46,7 @@ NEWS * [core] replace array weakref with vector * [base64] fix crash due to broken force_assert * [unittests] add test_buffer and test_base64 unit tests + * [buffer] refactor buffer_path_simplify (fixes #2560) - 1.4.39 - 2016-01-02 * [core] fix memset_s call (fixes #2698) |