Re: [Wireshark-dev] [PATCH] stats_tree.c fixup preventing segfault

2006-12-13 Thread Sebastien Tandel
Hi Stephen, it's just after ... I leave the filter empty and click create stats :) see in the code plugins/pinfo_stats_tree.c line 97 : st_node_plen = stats_tree_create_range_node(st, st_str_plen, 0, "0-19","20-39","40-79","80-159","160-319","320-639","640-1279","1280-2559","2560-5119","5

Re: [Wireshark-dev] [PATCH] stats_tree.c fixup preventing segfault

2006-12-13 Thread Stephen Fisher
On Tue, Dec 12, 2006 at 04:41:19AM +0100, Sebastien Tandel wrote: >here is a patch against svn rev20122 which prevents wireshark from > segfault when trying the stats module "packet length". the function > affected is get_range in epan/stats_tree.c which did not the correct > tests if you w

[Wireshark-dev] [PATCH] stats_tree.c fixup preventing segfault

2006-12-11 Thread Sebastien Tandel
Hi all, here is a patch against svn rev20122 which prevents wireshark from segfault when trying the stats module "packet length". the function affected is get_range in epan/stats_tree.c which did not the correct tests if you want define range like the following : "-" "10-" "-10" "0-10" givin