diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2012-08-25 17:56:40 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2012-08-25 17:56:40 +0200 |
commit | 3cdd0042814322252c8a4863ff095604c56c4e48 (patch) | |
tree | 11ae89520f28668c98669d36f4b700d704796a7c /gtk2/proto_hier_stats_dlg.c | |
parent | beb02df3617da33f1b05292b7f26737f16dcf0ae (diff) |
packet-gmr1_bcch: Add guards in the SI1/2 choice of segmentsylvain/gmr
Although the CSN1 dissector itself will just stop if there is
no matching segment, it will leave the choice field uninitizalized
and so when we use it to fill some other text, it crashes ...
To protect against that, we put a last choice entry that will always
match. As a bonus, it triggers an explicit error in CSN so you
know something is wrong.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'gtk2/proto_hier_stats_dlg.c')
0 files changed, 0 insertions, 0 deletions