]> git.kaiwu.me - njs.git/commit
Fixed Buffer.prototype.indexOf() and friends.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 10 Oct 2024 01:25:52 +0000 (18:25 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Thu, 10 Oct 2024 16:43:41 +0000 (09:43 -0700)
commit5a8bb2d172ad080efc0d719e7df609ac5355992e
tree7aeecb04afc48b824a4320e6e89c55f53695562b
parente0563f4dd6a2ab52b4796b5cc536ce14e8ad6483
Fixed Buffer.prototype.indexOf() and friends.

With empty buffers in both the self and search cases.
src/njs_buffer.c
src/qjs_buffer.c
test/buffer.t.js