Wireshark-commits: [Wireshark-commits] master 4853fb9: randpktdump: Initialize print error handler

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 14 Sep 2019 21:26:03 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4853fb93b2e64a882f233cd91743976075faf6da
Submitter: "Michael Mann <mmann78@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

4853fb9 by Tomasz Moń (desowin@xxxxxxxxx):

    randpktdump: Initialize print error handler
    
    When there is a problem with output pipe, randpktdump will call
    cfile_write_failure_message() which in turn calls cmdarg_err() which
    calls print_err. Call cmdarg_err_init() so print_err is not NULL.
    
    Change-Id: Ie459596a473c83204e9aa1d48bb2d2d3717b340a
    Reviewed-on: https://code.wireshark.org/review/34495
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  c0224ee   Qt: Prevent crash in main window layout.
     add  4853fb9   randpktdump: Initialize print error handler


Summary of changes:
 extcap/randpktdump.c | 8 ++++++++
 1 file changed, 8 insertions(+)