URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f8ff5638beeeffe382e209dd683809a24b27f5b9
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
f8ff563 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>
(cherry picked from commit 1438d28768023cc185a3fa4237cb2842bbb5df31)
Reviewed-on: https://code.wireshark.org/review/15807
Actions performed:
from f9ab2eb Set cf_info.num_interfaces before using it.
adds f8ff563 Set the size of the packet counts array when we create it.
Summary of changes:
capinfos.c | 1 +
1 file changed, 1 insertion(+)