diff --git a/runtime/src/sandbox.c b/runtime/src/sandbox.c index 0841e82..45d4a56 100644 --- a/runtime/src/sandbox.c +++ b/runtime/src/sandbox.c @@ -159,7 +159,7 @@ sandbox_allocate(struct sandbox_request *sandbox_request) #ifdef LOG_STATE_CHANGES sandbox->state_history_count = 0; sandbox->state_history[sandbox->state_history_count++] = SANDBOX_ALLOCATED; - memset(&sandbox->state_history, 0, 100); + memset(&sandbox->state_history, 0, SANDBOX_STATE_HISTORY_CAPACITY); #endif /* Set state to initializing */