Security review (#331)

* Fix some issues

* add typed_data.c changes

* Make attribution after the check
This commit is contained in:
Jorge Martins
2022-08-08 13:53:41 +02:00
committed by GitHub
parent ff68de5bb7
commit b2ec3eff0a
7 changed files with 43 additions and 4 deletions

View File

@@ -14,6 +14,7 @@
#include "shared_context.h" // reset_app_context
#include "ui_callbacks.h" // ui_idle
e_struct_init struct_state = NOT_INITIALIZED;
s_eip712_context *eip712_context = NULL;
/**
@@ -51,6 +52,8 @@ bool eip712_context_init(void) {
return false;
}
struct_state = NOT_INITIALIZED;
return true;
}