matcha
matcha copied to clipboard
BUG: Unchecked file write error in image protocol debugger
Describe the bug
In view/html.go:256, the return value of _, _ = f.WriteString(msg) is ignored. If the disk is full, the debug log will silently drop messages.
To reproduce
Enable DEBUG_IMAGE_PROTOCOL_LOG and fill the disk or restrict permissions on the file while the app is running.
Expected behavior
The write error should be logged or handled safely.
This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.
Closing due to inactivity. Reopen if still relevant.