]> git.kaiwu.me - njs.git/commit
Improved njs_ftw().
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 23 Dec 2021 13:30:44 +0000 (13:30 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 23 Dec 2021 13:30:44 +0000 (13:30 +0000)
commit2da5d8b246b806bee6f74b575217ec3b61a25548
tree297127c90911b00c24afb880e1973437983d297c
parenta56de006eb9d5651cc5a0492070cedaad0345309
Improved njs_ftw().

Replacing strcpy() with memcpy() as the former is considered
insecure.

Found by Clang static analyzer.
external/njs_fs.c