We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ecall_closedb() must set db pointer to NULL after free the object.
void ecall_closedb(){ sqlite3_close(db); db = NULL; // change ocall_println_string("Enclave: Closed database connection"); }
Otherwise a check like:
if (db == 0){ return ERR; } magic = db->magic_byte;
will fail from multiple places.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ecall_closedb() must set db pointer to NULL after free the object.
Otherwise a check like:
will fail from multiple places.
The text was updated successfully, but these errors were encountered: