summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox/chessbox.c
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-03-27 00:08:28 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-04-09 15:20:57 +0100
commit7718b244011661a5273121d1b545a18f1a5cd497 (patch)
tree68ee6e02cd3985581e67e803e70b16b412bb0527 /apps/plugins/chessbox/chessbox.c
parentbd444ebd0a6cb98faf7ca569c273f4ca860ab65d (diff)
downloadrockbox-7718b244011661a5273121d1b545a18f1a5cd497.tar.gz
rockbox-7718b244011661a5273121d1b545a18f1a5cd497.zip
buffering: fix signed overflow in next_handle_id()
Not sure what the comment is talking about - signed overflow is undefined behavior and we don't use -fwrapv or other flags to make it defined. I can't see how a compiler could abuse it here, but the overflow is nonetheless easily avoided. Change-Id: Ibed6d7c0d841db2aa86b9d8ba4c6a0d08c413354
Diffstat (limited to 'apps/plugins/chessbox/chessbox.c')
0 files changed, 0 insertions, 0 deletions