Index: src/trusted/service_runtime/sel_ldr.c |
diff --git a/src/trusted/service_runtime/sel_ldr.c b/src/trusted/service_runtime/sel_ldr.c |
index 237af1b5bf091b30f6fe4ca7eef55ea8b59141e2..76c5b0744b7d05e432d442d2847dd4671bfddd17 100644 |
--- a/src/trusted/service_runtime/sel_ldr.c |
+++ b/src/trusted/service_runtime/sel_ldr.c |
@@ -79,6 +79,9 @@ int NaClAppWithSyscallTableCtor(struct NaClApp *nap, |
/* Get the set of features that the CPU we're running on supports. */ |
NaClGetCurrentCPUFeatures(&nap->cpu_features); |
+ /* The validation cache will be injected later, if it exists. */ |
+ nap->validation_cache = NULL; |
+ |
nap->addr_bits = NACL_MAX_ADDR_BITS; |
nap->stack_size = NACL_DEFAULT_STACK_MAX; |