Describe the bug
Attempting to send a print to a nonexistant default printer segfaults the server.
To Reproduce
Steps to reproduce the behavior:
Run the server as root
Set it up with hp_deskjet
Submit a print with the submit CLI without a -d argument
Watch the server process segfault.
Expected behavior
I expected it to work the same as when I do specify a -d in the submit command (still no print, but it gets further along and thinks it printed fine)
Describe the bug Attempting to send a print to a nonexistant default printer segfaults the server.
To Reproduce Steps to reproduce the behavior:
hp_deskjet
submit
CLI without a-d
argumentExpected behavior I expected it to work the same as when I do specify a
-d
in the submit command (still no print, but it gets further along and thinks it printed fine)Screenshots Coredump report here: https://i.ckie.dev/ms6hchb.txt
System Information:
Linux pansear 5.10.99 #1-NixOS SMP Tue Feb 8 17:30:41 UTC 2022 x86_64 GNU/Linux
SNAP_COMMON=/run
so it canbind
the socket.