Printer: fix a nil pointer dereference #79349
What type of PR is this?
What this PR does / why we need it:
Does this PR introduce a user-facing change?:
Sounds good. This was from 17740a2#diff-749b0f5911ddd5261b4ed5c2945d7c16R1585, which was added in 1.12. I assume 1.12 has retired so let's cherrypick it to 1.13, 1.14 and 1.15?
[APPROVALNOTIFIER] This PR is APPROVED
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing