Skip to content

strip control characters from printer keywords in ipp backend#1632

Open
aizu-m wants to merge 1 commit into
OpenPrinting:masterfrom
aizu-m:ipp-report-control-chars
Open

strip control characters from printer keywords in ipp backend#1632
aizu-m wants to merge 1 commit into
OpenPrinting:masterfrom
aizu-m:ipp-report-control-chars

Conversation

@aizu-m

@aizu-m aizu-m commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

a malicious ipp printer that puts a newline in a printer-state-reasons or printer-mandatory-job-attributes keyword injects extra STATE:/PPD: lines into the scheduler, so strip control characters in update_reasons and report_printer_state the same way report_attr already does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant