infra: fix potential string overflow
zzz debug
doc