]> git.kaiwu.me - njs.git/commit
Fixed macro for aligned size of njs_frame_t struct.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 11 Sep 2018 12:35:27 +0000 (15:35 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 11 Sep 2018 12:35:27 +0000 (15:35 +0300)
commit355862530b9ccefe06f3cf339fc9437758cff9a4
treedb777ae4daf9123f2a4d9584131e9c1abfda24da
parent7f0756cc5ccbd9521f3832a31102438a2cbacc4f
Fixed macro for aligned size of njs_frame_t struct.

NJS_FRAME_SIZE did not take into account the variable length of
closures array.  This can result in overlapping addresses for
native_frame->arguments and frame->closures[n],
njs/njs_function.c
njs/njs_function.h