Query module CreatesEmptyZip

name
Creates empty ZIP file entry
description
Omitting a call to ‘ZipOutputStream.write’ when writing a ZIP file to an output stream means that an empty ZIP file entry is written.
kind
problem
problem.severity
warning
precision
medium
id
java/empty-zip-file-entry
tags
reliability readability

Imports

SSA

Provides classes and predicates for SSA representation (Static Single Assignment form).

java

Provides all default Java QL imports.

Classes

ZipOutputStream

A class that is a descendant of java.util.zip.ZipOutputStream.