Skip empty vulnerability names

git-svn-id: file:///home/svn/framework3/trunk@12503 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-05-02 05:20:07 +00:00
parent 1eee55b3cf
commit 732a1f3993
1 changed files with 3 additions and 1 deletions

View File

@ -4060,6 +4060,8 @@ class DBManager
}
)
end
next if nasl.to_s.strip.empty?
handle_nessus(wspace, hobj_map[ addr ], port, nasl, severity, data)
end
end
@ -4707,7 +4709,7 @@ protected
end
end
nss = 'NSS-' + nasl.to_s
nss = 'NSS-' + nasl.to_s.strip
vuln_info = {
:workspace => wspace,