From d1e2f6c7708bbd07f12861e2c20d0a9fbc5fb55c Mon Sep 17 00:00:00 2001 From: ionut Date: Fri, 1 May 2026 18:09:16 +0300 Subject: [PATCH] fixed uninit memory --- src/ncomplib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ncomplib.c b/src/ncomplib.c index 687c44d..67e2720 100644 --- a/src/ncomplib.c +++ b/src/ncomplib.c @@ -1963,6 +1963,7 @@ nn_Component *ncl_createEEPROM(nn_Universe *universe, const char *address, const state->ctx = ctx; state->lock = lock; state->usage = 0; + state->isReadonly = false; state->code = codebuf; state->codelen = codelen; memcpy(state->code, code, codelen);