]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
raster-interpret.c: Verify base for `strtol()`
authorzdohnal <zdohnal@redhat.com>
Mon, 10 Mar 2025 08:13:10 +0000 (09:13 +0100)
committerGitHub <noreply@github.com>
Mon, 10 Mar 2025 08:13:10 +0000 (09:13 +0100)
Input for atoi() can be bad number for argument base in strtol(), causing returning an incorrect pointer address and later segfault.

Break out from function if the base is incorrect.

Fixes #1188


Trivial merge