Error with AV routine if an empty file was uploaded.  This includes any infected files being intercepted by the server's AV scanner.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4159 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
mullenm
2008-03-31 14:15:25 +00:00
parent 2f3ece5620
commit a4833064b4

View File

@@ -293,6 +293,10 @@ CREATE OR REPLACE PACKAGE BODY mip_virus_check IS
p_description => 'Virus checked by MIP');
END IF;
EXCEPTION
WHEN no_data_found THEN
delete_file_from_mip(p_doc_id => l_doc_id);
pl('File uploaded was empty and has been removed from MIP');
END check_file;
--