Skip to content
  • Michael Pyne's avatar
    Avoid using uninitialized tempfile buffer. · be119c0f
    Michael Pyne authored
    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.
    be119c0f