Skip to content

Commit

Permalink
ws: Fixed strings of unspecified size being forced to be null-termina…
Browse files Browse the repository at this point in the history
…ted during parsing
  • Loading branch information
Snaipe committed Nov 9, 2016
1 parent bbd9dd0 commit be49992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wssdl/wireshark.lua
Expand Up @@ -169,7 +169,7 @@ local dissect_type = {
local val = raw[mname](raw)
sz = #val * 8

if not field._size or field._size == 0 then
if field._size == 0 then
sz = sz + field._basesz * 8
end
return raw, val, sz
Expand Down

0 comments on commit be49992

Please sign in to comment.