A few places created strings based on the terminal width, using fixed-sized buffers and without checking for overflowing them. Fix those, and also replace all other sprintf() calls with snprintf(). Reported by cpet.
A few places created strings based on the terminal width, using fixed-sized buffers and without checking for overflowing them. Fix those, and also replace all other sprintf() calls with snprintf(). Reported by cpet.