Skip to content

Commit

Permalink
clamav - fix missing variable when scanning files
Browse files Browse the repository at this point in the history
  • Loading branch information
fl0ppy-d1sk committed Mar 25, 2024
1 parent 3d38e72 commit fddf8fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clamav/clamav.lua
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ function clamav:scan()
return false, "failed to create upload form"
end
local sha = sha512:new()
local socket = nil
while true do
-- Read part
local typ, res, err = form:read()
Expand Down

0 comments on commit fddf8fa

Please sign in to comment.