mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Macro and rept buffers were not always being terminated with newlines and/or were vulnerable to the final newline being escaped, allowing buffer overflows to occur. Now, they are terminated with newlines using the same mechanism as the file buffer.
9 lines
48 B
NASM
9 lines
48 B
NASM
m: MACRO
|
|
ENDM
|
|
|
|
REPT 1
|
|
m ENDR
|
|
|
|
REPT 1
|
|
m \ ENDR
|