mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Widths and fractional widths greater than 255 would overflow a uint8_t and wrap around to smaller values. Total formatted lengths greater than the avilable buffer size would overflow it and potentially corrupt memory. Fixes #830 Closes #831
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
ERROR: format-truncation.asm(5):
|
|
Formatted numeric value too long
|
|
ERROR: format-truncation.asm(6):
|
|
Formatted numeric value too long
|
|
ERROR: format-truncation.asm(7):
|
|
Fractional width 260 too long, limiting to 255
|
|
ERROR: format-truncation.asm(7):
|
|
Formatted numeric value too long
|
|
ERROR: format-truncation.asm(8):
|
|
Formatted string value too long
|
|
ERROR: format-truncation.asm(9):
|
|
Formatted string value too long
|
|
ERROR: format-truncation.asm(11):
|
|
Formatted numeric value too long
|
|
warning: format-truncation.asm(11): [-Wlong-string]
|
|
String constant too long
|
|
ERROR: format-truncation.asm(12):
|
|
Formatted numeric value too long
|
|
warning: format-truncation.asm(12): [-Wlong-string]
|
|
String constant too long
|
|
ERROR: format-truncation.asm(13):
|
|
Fractional width 260 too long, limiting to 255
|
|
ERROR: format-truncation.asm(13):
|
|
Formatted numeric value too long
|
|
warning: format-truncation.asm(13): [-Wlong-string]
|
|
String constant too long
|
|
ERROR: format-truncation.asm(14):
|
|
Formatted string value too long
|
|
warning: format-truncation.asm(14): [-Wlong-string]
|
|
String constant too long
|
|
ERROR: format-truncation.asm(15):
|
|
Formatted string value too long
|
|
warning: format-truncation.asm(15): [-Wlong-string]
|
|
String constant too long
|
|
error: Assembly aborted (12 errors)!
|