malloc without NULL check

Michael Sweet mike at
Sat May 24 20:26:46 PDT 2008

andreas moroder wrote:
> ...
> and more in other places in cups-1.4svn-r7613

First, a NULL will just cause the filter to crash, stopping the job.

Second, if malloc() fails there is nothing we'll be able to do other
than exit with a non-zero exit status, stopping the job.

Michael Sweet, Easy Software Products           mike at easysw dot com

More information about the cups mailing list