cups icon indicating copy to clipboard operation
cups copied to clipboard

ppd-conflicts.c: Fix SEGV in 'cupsResolveConflicts()'

Open Drawishe opened this issue 1 year ago • 0 comments

A fuzzer found a way to call cupsResolveConflicts() with NULL options structure and not-null num_options. This caused a segmentation fault because non-existent elements of the options structure are accessed in cupsResolveConflicts() function. To avoid this, we need to add a NULL values check for the elements of the structure.

Fixes #896

Drawishe avatar Feb 19 '24 13:02 Drawishe