]> git.kaiwu.me - njs.git/commit
Avoiding arithmetic operations with NULL pointer in TextDecoder().
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 9 Jan 2024 06:20:19 +0000 (22:20 -0800)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 9 Jan 2024 06:20:19 +0000 (22:20 -0800)
commit0ab55e29dea0f87d979f31f690c1681c450c3b0d
tree729e3c6466e1fbf694807a991f6e2989db751560
parentc1917e2181263c44145ccb449871d3d88fdc5467
Avoiding arithmetic operations with NULL pointer in TextDecoder().

Found by UndefinedBehaviorSanitizer.
src/njs_encoding.c
src/njs_utf8.c