runtime: fix the memory-leak + write-corruption pair in el_runtime.c #64
Reference in New Issue
Block a user
Delete Branch "hotfix/el-runtime-leak-and-persist"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The complete arena-lifetime fix pair, verified live for 5h against the recovered production snapshot. Half 1 (leak): jb_finish() arena-tracking for all JsonBuf returns + per-tick el_arena_push/pop support. Half 2 (corruption, from Tim's container findings / docs PR #4): 39 stored-field sites el_strdup -> el_strdup_persist + engram_load double-free fix. The two must ship together — per-tick reclamation widens the UAF window without the persist fix. Field-integrity write test passes; June corruption fingerprint does not reproduce. engram/dist binary rebuilt from this runtime.