altos: Deal with 8-character version numbers
authorKeith Packard <keithp@keithp.com>
Sat, 19 Feb 2022 23:35:31 +0000 (15:35 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 19 Feb 2022 23:38:23 +0000 (15:38 -0800)
commitd29047255c8e78d4ab2beeef678d466a6bfc0ae2
tree415fbd3bb865418050a79f2978db66c5a227e540
parent76358fb6e68c1f466e4d76a291f60e1053aa50d0
altos: Deal with 8-character version numbers

With 8 characters, the version number isn't null-terminated, so we
need to limit use to the available length in a couple of places.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_cmd.c
src/product/ao_flash_task.c