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
Please register or sign in to comment