Wireshark-commits: [Wireshark-commits] master 8d2eaaa: If we have no fields, don't try to iterate t
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 27 Jun 2014 03:27:26 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8d2eaaab51f0c64de0488b7b2b83cac7086628c1
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

8d2eaaa by Evan Huus (eapache@xxxxxxxxx):

    If we have no fields, don't try to iterate through them.
    
    Otherwise glib throws an assertion since the array we pass it is NULL.
    
    Change-Id: I9159c1f5ad99b280c040cd790df3cf352738601f
    Reviewed-on: https://code.wireshark.org/review/2680
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  1560b67   show an expert info if a non-control urb contains a setup packet
    adds  8d2eaaa   If we have no fields, don't try to iterate through them.


Summary of changes:
 epan/print.c |    4 ++++
 1 file changed, 4 insertions(+)