chiark / gitweb /
wireshark/tripe.lua (dissect_ciphertext): Return correct final position.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 6 Sep 2017 00:33:19 +0000 (01:33 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 14 Jun 2018 09:34:25 +0000 (10:34 +0100)
wireshark/tripe.lua

index 57b56183463eb0dd2a64a20bd36028f5400fd872..f950aefad11ef200e5d3be2a47d13175e65fa961 100644 (file)
@@ -207,7 +207,7 @@ local function dissect_ciphertext(buf, tree, label, pos, sz)
 
   local t = tree:add(PF[label], buf(pos, sz - pos))
   dissect_ct[C.bulk](buf, t, pos, sz)
-  return pos
+  return sz
 end
 
 local function dissect_packet(buf, tree, pos, sz)