advanceDcsIntermediate (sixel DCS)advanceDcsIntermediate (sixel DCS)File: src/input.zig:385
Severity: HIGH
Status: ✅ FIXED — changed catch {} to try and return type to Error!void. Unit test added.
self.dcs_buf.appendSlice(self.screen.allocator, "\x1bPq") catch {};
// ^^^^^^ SWALLOWED
If appendSlice fails (OOM), the error is silently discarded. The function continues as if the append succeeded, entering .dcs_sixel state. When the ST terminator arrives, dispatchDcsSixel tries to dupe an empty buffer — sixel data is lost/corrupted with no error reported.