Wireshark-commits: [Wireshark-commits] master 1438d28: Set the size of the packet counts array when
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 10 Jun 2016 07:32:35 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1438d28768023cc185a3fa4237cb2842bbb5df31
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

1438d28 by Guy Harris (guy@xxxxxxxxxxxx):

    Set the size of the packet counts array when we create it.
    
    g_array_sized_new() sets the amount of *space allocated for* the array,
    but doesn't actually set its *length*.
    
    Change-Id: Ia7deab34c758c88910dfb0e246a6903301e68029
    Reviewed-on: https://code.wireshark.org/review/15806
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  3ba7798   Set cf_info.num_interfaces before using it.
    adds  1438d28   Set the size of the packet counts array when we create it.


Summary of changes:
 capinfos.c |    1 +
 1 file changed, 1 insertion(+)