Remote print test crashes QEMU via divide-by-zero bug

A crafted PDF print job sent to moyix's printer emulator crashed QEMU with a SIGFPE; investigation revealed the root cause was a divide-by-zero bug in his PNG rendering code, which assumed Letter paper size and failed on A4 jobs.

2026-11-17 ~ 2026-11-17 · 2 related posts