diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-12-21 19:39:49 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2016-12-21 19:39:49 +0100 |
commit | 4cf5244930314aa1051ed1a473bef601d6ba9ba6 (patch) | |
tree | 7a1ea39bee87f5323103bfc7d0e771ad8d577014 | |
parent | 65f35701d1479456d015ce697e3ac9a6c6b20ed9 (diff) | |
download | wireshark-notes-4cf5244930314aa1051ed1a473bef601d6ba9ba6.tar.gz |
file-zip.lua: fix data length readout
Finally parses dex2jar-2.0.zip now :-)
-rw-r--r-- | lua/file-zip.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/file-zip.lua b/lua/file-zip.lua index 6725795..70b866d 100644 --- a/lua/file-zip.lua +++ b/lua/file-zip.lua @@ -223,7 +223,7 @@ local function dissect_one(tvb, offset, pinfo, tree) subtree:add_le(hf.entry.filename_len, tvb(offset + 26, 2)) subtree:add_le(hf.entry.extra_len, tvb(offset + 28, 2)) local flag = tvb(offset + 6, 2):le_uint() - local data_len = tvb(offset + 18, 2):le_uint() + local data_len = tvb(offset + 18, 4):le_uint() local filename_len = tvb(offset + 26, 2):le_uint() local extra_len = tvb(offset + 28, 2):le_uint() |