diff options
author | Dmitry Volyntsev <xeioex@nginx.com> | 2025-02-11 16:41:56 -0800 |
---|---|---|
committer | Dmitry Volyntsev <xeioexception@gmail.com> | 2025-02-18 16:30:00 -0800 |
commit | 0b6eca0a123000297d4e18d46770bad7416d5056 (patch) | |
tree | b992416a0c7dfeef78fe5ad480cd7b00b1e173e6 /nginx/ngx_js.c | |
parent | 2abc2a123fd510f6945bc94670f93db2f0aaf659 (diff) | |
download | njs-0b6eca0a123000297d4e18d46770bad7416d5056.tar.gz njs-0b6eca0a123000297d4e18d46770bad7416d5056.zip |
Fixed access to uninitialized alg in SubtleCrypto.import().
Found by GCC:
In function ‘qjs_import_jwk_oct’,
external/qjs_webcrypto_module.c:3116:13: error: ‘alg.start’ may be used uninitialized [-Werror=maybe-uninitialized]
3116 | JS_ThrowTypeError(cx, "key size and \"alg\" value \"%s\" mismatch",
The similar place in the NJS module was also fixed.
Diffstat (limited to 'nginx/ngx_js.c')
0 files changed, 0 insertions, 0 deletions