Archive for January, 2019

Fixing an endless loop bug in the Xerox Unix printing Package 4.50.29 xsf tool

Thursday, January 24th, 2019

I got annoyed today by a Xerox printer that was driven via CUPS, where the queue hung forever from time to time. So I investigated where it hung. Turns out, it got stuck in this loop: int __cdecl SendLprCmd(int a1, int a2, int a3, int a4, int fd) { int v5; // ST1C_4@21 signed int […]