[njs] Fixed overflow in Array.prototype.concat().

2019-04-19 Thread Alexander Borisov
details: https://hg.nginx.org/njs/rev/8f87e3ef4a4d branches: changeset: 913:8f87e3ef4a4d user: Alexander Borisov date: Fri Apr 19 17:24:29 2019 +0300 description: Fixed overflow in Array.prototype.concat(). This closes #131 issue on GitHub. diffstat: njs/njs_array.c | 2

[njs] Added uint32_t overflow check for njs_array_alloc() function.

2019-04-19 Thread Alexander Borisov
details: https://hg.nginx.org/njs/rev/434c654ef638 branches: changeset: 912:434c654ef638 user: Alexander Borisov date: Fri Apr 19 17:48:39 2019 +0300 description: Added uint32_t overflow check for njs_array_alloc() function. diffstat: njs/njs_array.c | 24 +++

[njs] Simplified typeof operation.

2019-04-19 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/a6c82ddff460 branches: changeset: 911:a6c82ddff460 user: hongzhidao date: Fri Apr 19 20:03:49 2019 +0800 description: Simplified typeof operation. diffstat: njs/njs_generator.c | 23 +-- njs/njs_variable.c | 2 +- njs/n