Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6018] tshark crashes when loading Lua script that contains

Date: Tue, 14 Jun 2011 18:10:16 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6018

Bobby Tables <tony19@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #6499|                            |review_for_checkin?
               Flag|                            |

--- Comment #3 from Bobby Tables <tony19@xxxxxxxxx> 2011-06-14 21:10:15 EDT ---
Created an attachment (id=6499)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=6499)
Patch adds null checks and fixes typos in Lua error print-outs

The segfault from my example occurs at /trunk/epan/wslua/wslua_gui.c:416 (
http://anonsvn.wireshark.org/viewvc/trunk/epan/wslua/wslua_gui.c?revision=37029&view=markup#l416
).

The problem here (and throughout the file) is a missing null-check. I've
attached a patch to check for nulls and to fix some copy+paste typos.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.