From cf19c9512dd41831bb5643025b9f3349c0828d83 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Tue, 28 Jul 2020 00:54:20 +0100 Subject: [PATCH] RELEASE_NOTES: Add entry for compiler lifetime tracking fix I contemplated putting this in the "Breaking changes" section, as it might break user code that has avoided being hit by memory corruption from the use-after free by chance (even though it was always an accepts-illegal bug). --- RELEASE_NOTES.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index 7b9899d71..d1f88b15f 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -24,6 +24,9 @@ Highlights: * Core device: ``panic_reset 1`` now correctly resets the kernel CPU as well if communication CPU panic occurs. * NumberValue accepts a ``type`` parameter specifying the output as ``int`` or ``float`` +* In kernels, lifetime of allocated values (e.g. lists) is now correctly tracked across + function calls (see #1497, #1394). Previous versions (since ARTIQ 1.0) would accept + illegal code that would result in silent memory corruption at runtime. Breaking changes: