]> git.kaiwu.me - njs.git/commit
Improved error stack frame handling.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 14 May 2026 00:41:05 +0000 (17:41 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Thu, 14 May 2026 16:29:24 +0000 (09:29 -0700)
commit92cc0e61bc9b167d6b375ae640ceb6b2a8572378
tree9dd1b1e99030a79c80f0a743770a226b204ce664
parent2aee0a2e6787308b85d9e1a69c74c0cb15ea756c
Improved error stack frame handling.

Native frames always have an associated function.  Keep the function
lookup in the native-frame branch to make the invariant explicit and to
avoid confusing static analysis.

Found by Coverity (CID 1681309).
src/njs_error.c