mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Fix the off-by-one in ssl-enum-ciphers that I reintroduced.
This commit is contained in:
parent
cf1cd27255
commit
aa15467a3f
1 changed files with 1 additions and 1 deletions
|
|
@ -832,7 +832,7 @@ local function in_chunks(t, size)
|
|||
local ret = {}
|
||||
for i = 1, #t, size do
|
||||
local chunk = {}
|
||||
for j = i, i + size do
|
||||
for j = i, i + size - 1 do
|
||||
chunk[#chunk+1] = t[j]
|
||||
end
|
||||
ret[#ret+1] = chunk
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue