]> git.earman.xyz Git - sensor-watch.git/commit
Avoid out-of-range character
authormichael-lachmann <43858037+michael-lachmann@users.noreply.github.com>
Sat, 22 Nov 2025 03:28:41 +0000 (20:28 -0700)
committerGitHub <noreply@github.com>
Sat, 22 Nov 2025 03:28:41 +0000 (20:28 -0700)
commit998a1350788908ae7c5cc5f727c78e0433e91ae2
treeccfb1dd866184fca8e9725e0c25b670fa0ea4233
parent32b44da23b7f582a776e56d6bf1528b96b9c59c8
Avoid out-of-range character

When character is out of range, this will access illegal memory areas.
In watch_display_text() it also makes sense to stop on char='\0' even when in position 0.
watch-library/shared/watch/watch_common_display.c