Skip to content

Add CodeQL query to check for term use after GC#2100

Merged
bettio merged 1 commit intoatomvm:mainfrom
pguyot:w07/add-codeql-term-use-after-gc
Feb 15, 2026
Merged

Add CodeQL query to check for term use after GC#2100
bettio merged 1 commit intoatomvm:mainfrom
pguyot:w07/add-codeql-term-use-after-gc

Conversation

@pguyot
Copy link
Collaborator

@pguyot pguyot commented Feb 14, 2026

Fix a bug reported by the query in nif_erlang_exit where the term reason could not be an immediate and wasn't added to roots

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@pguyot pguyot force-pushed the w07/add-codeql-term-use-after-gc branch from dfd7b77 to 6b46176 Compare February 14, 2026 19:27
Fix a bug reported by the query in nif_erlang_exit where the term reason
could not be an immediate and wasn't added to roots

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
@bettio bettio merged commit 30eb859 into atomvm:main Feb 15, 2026
191 of 192 checks passed
@pguyot pguyot deleted the w07/add-codeql-term-use-after-gc branch February 15, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants