]> git.kaiwu.me - njs.git/commit
Fixed endless loop in Array.prototype.sort().
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 2 Jun 2020 14:59:30 +0000 (14:59 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 2 Jun 2020 14:59:30 +0000 (14:59 +0000)
commit61789fbe833a15e5998dffd3e318404b00d97e1f
treed9061e16213a7acfa3289c87c74b5af2aa561eb5
parent892af3ee5ec2e1131a820a9e584de0c039192e66
Fixed endless loop in Array.prototype.sort().

With non-consistent comparison function.

The issue was introduced in 1d0825906438.
src/njs_utils.c
src/test/njs_unit_test.c