Skip to content
Commit be119c0f authored by Michael Pyne's avatar Michael Pyne
Browse files

Avoid using uninitialized tempfile buffer.

If the PPD filename were null then we wouldn't fill in the tempfile
buffer and since we don't bail out early we'd later try to unlink
whatever file might be named by bytes in that buffer. Caught by
Coverity, CID 1335203

Also, the filename checks should use QString::isEmpty instead of
QString::isNull, given the logic of the relevant checks.
parent e330a88b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment