https://gitlab.synchro.net/main/sbbs/-/commit/2c65f4bde3b1958a96c50a60
Modified Files:
src/syncterm/syncterm.c
Log Message:
Fix multiple bugs in syncterm.c
- get_xdg_path(): strcat("syncterm") ignored bufsz, return NULL if
the path would overflow the buffer.
- webget calloc: add NULL check, wrap download block in if(reqs!=NULL)
to avoid NULL dereference on allocation failure.
- Progress bar: change %.*s to %*s so spaces are actually printed,
and scale percentage from 0-100 to 0-10 to match the bar width.
Co-Authored-By: Claude Opus 4.6 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net