We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fab1c9a commit c277f98Copy full SHA for c277f98
1 file changed
src/crypto/crypto_util.cc
@@ -736,6 +736,7 @@ void SecureBuffer(const FunctionCallbackInfo<Value>& args) {
736
uint32_t len = args[0].As<Uint32>()->Value();
737
738
auto data = DataPointer::SecureAlloc(len);
739
+ CHECK(data.isSecure());
740
if (!data) {
741
return THROW_ERR_OPERATION_FAILED(env, "Allocation failed");
742
}
0 commit comments