Wireshark-commits: [Wireshark-commits] master b5a8c4f: randpktdump: fix a crash.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 16 Jun 2016 03:06:00 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b5a8c4f72970927eafad323a48b4a99386a72347
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b5a8c4f by Dario Lombardo (lomato@xxxxxxxxx):

    randpktdump: fix a crash.
    
    Randpktdump requires the init the wtap opttypes.
    Fixed making the init function public and calling it.
    
    Bug: 12539
    Change-Id: I02585c41012deacff1526b51ed09ab555cbfc8ce
    Reviewed-on: https://code.wireshark.org/review/15951
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  79aab92   Don't call g_ascii_strcasecmp() with an NULL string.
    adds  b5a8c4f   randpktdump: fix a crash.


Summary of changes:
 randpkt_core/randpkt_core.c |    3 +++
 wiretap/wtap_opttypes.h     |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)