https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13017

--- Comment #2 from Redford <mkow...@gmail.com> ---
(In reply to Jaap Keuter from comment #1)
> See the very last section (2.11) of README.dissector[1], which states that
> tree may be NULL and your code has to work either way.
> 
> [1]
> https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=doc/
> README.dissector

This README is for writing dissectors in C, not Lua. Even if you would pass
`nil` to string.format that doesn't cause a crash in standard Lua interpreter.
The bug here seems to break Lua safety - you can't dereference invalid pointer
in Lua, this is only possible when there's a bug in its engine or in
Wireshark's extensions.

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to