]> git.ipfire.org Git - thirdparty/cups.git/commit
raster-interpreter.c: Fix crash in 'scan_ps()' found by fuzzer 834/head
authorZdenek Dohnal <zdohnal@redhat.com>
Fri, 24 Nov 2023 10:46:53 +0000 (11:46 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Fri, 24 Nov 2023 10:46:53 +0000 (11:46 +0100)
commit609ea2bdeb4bdfccc9c0ec0ef5ba6de8d3e0b709
tree72df3a1fb64b6d1edb591763d54134ca75d2d5f3
parenta7a80bd3c634ec25c07f6dcf626107d5d3ee8b6a
raster-interpreter.c: Fix crash in 'scan_ps()' found by fuzzer

Fuzzer using `_cupsRasterExecPS()` found a way how to pass NULL into
`scan_ps()`, causing crash - we have to sanitize the argument for NULL
to fix it.

Fixes #831
cups/raster-interpret.c