Disallow NUL characters in section names and assertion messages

Allowing these in object files would lose anything after the '\0'
when RGBLINK reads the object.
This commit is contained in:
Rangi
2026-08-22 19:51:03 -04:00
parent 21a4b85a4f
commit a2c52caca2
7 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -7,4 +7,4 @@ SECTION "ROM2 1K", ROMX,BANK[2]
ds $1000
SECTION "ROM2 1", ROMX,BANK[2]
ds 1
SECTION "\\\"\'\n\r\t\0", ROM0
SECTION "\\\"\'\n\r\t", ROM0