diff --git a/xpdo/compression/pclzip.lib.php b/xpdo/compression/pclzip.lib.php index ccf3ff96..e0a153c2 100644 --- a/xpdo/compression/pclzip.lib.php +++ b/xpdo/compression/pclzip.lib.php @@ -2643,7 +2643,12 @@ function privAddFile($p_filedescr, &$p_header, &$p_options) if ($p_header['stored_filename'] == "") { $p_header['status'] = "filtered"; } - + + // ----- Look for empty size + if (!($p_header['size'] > 0)) { + $p_header['status'] = "filtered"; + } + // ----- Check the path length if (strlen($p_header['stored_filename']) > 0xFF) { $p_header['status'] = 'filename_too_long';