diff --git a/quickjs/ckb_module.c b/quickjs/ckb_module.c index b638c31..ec98c9f 100644 --- a/quickjs/ckb_module.c +++ b/quickjs/ckb_module.c @@ -459,8 +459,8 @@ static JSValue syscall_pipe(JSContext *ctx, JSValueConst this_value, int argc, J static JSValue syscall_inherited_fds(JSContext *ctx, JSValueConst this_value, int argc, JSValueConst *argv) { int err = 0; - uint64_t fds[32]; - uint64_t length = 32; + uint64_t fds[64]; + uint64_t length = 64; err = ckb_inherited_fds(fds, &length); CHECK(err); JSValue obj = JS_NewArray(ctx);