URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3468297d442417fa09362cbd5416f4e40c240dbc
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark
Commits:
3468297 by Hadriel Kaplan (hadrielk@xxxxxxxxx):
Fix Bug 9853: 'Lua: trying to get/access a Preference before its registered causes a segfault'
Accessing a pref before it's registered causes a segfault, because prefs_p->next
is not being checked for NULL in wslua_proto.c:Prefs__index().
Change-Id: I270978ddb9238a9e8d2c533a96fc01ee0df385c7
Reviewed-on: https://code.wireshark.org/review/563
Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Reviewed-on: https://code.wireshark.org/review/572
Actions performed:
from 6d8df00 [Automatic manuf, services and enterprise-numbers update for 2014-03-09]
adds 3468297 Fix Bug 9853: 'Lua: trying to get/access a Preference before its registered causes a segfault'
Summary of changes:
epan/wslua/wslua_proto.c | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)