mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 12:02:08 +00:00
If the type char is signed, then in the function yylex_GetFloatMaskAndFloatLen(), *s can have a negative value and be converted to a negative int32_t which is then used as an array index. It should be converted to uint8_t instead to ensure that the value is in the bounds of the tFloatingFirstChar, tFloatingSecondChar, and tFloatingChars arrays.
4 lines
81 B
Plaintext
4 lines
81 B
Plaintext
ERROR: garbage_char.asm(1):
|
|
syntax error
|
|
error: Assembly aborted (1 errors)!
|