]> git.kaiwu.me - njs.git/commit
Fixed 1-byte memory over-read introduced in previous commit.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 23 Dec 2021 14:28:12 +0000 (14:28 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 23 Dec 2021 14:28:12 +0000 (14:28 +0000)
commit070b998046de5528bcc6df7f17c443584c2014ac
tree752dc19471a111c890ef25724763c7e56884132c
parent2da5d8b246b806bee6f74b575217ec3b61a25548
Fixed 1-byte memory over-read introduced in previous commit.

sizeof("\0") returns 2 because of the implicit zero byte added at
the end of string literals. Instead njs_length() was intended to be
used.
external/njs_fs.c