https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3821
--- Comment #2 from Chris Maynard <christopher.maynard@xxxxxxxxx> 2010-11-23 07:36:35 PST ---
(In reply to comment #1)
> It seems that the g_assert_not_reached check in get_field_data
> used for -T pdml output may not be correct for certain nested
> ASN.1 type definitions as tshark -r h245bug.pcap -V is able to
> handle this.
>
> My suggestion would therefore be to delete the g_assert_not_reached();
> from get_field_data and simply return NULL in that case.
Maybe an ASN.1 expert could take a look at this one?
Here's some additional information - the output of "tshark -r h245bug.pcap -T
pdml", immediately preceding the first error:
<field name="h245.standard" showname="standard:
0.0.8.24
1.0.0.1 (h264 generic-capabilities) - ITU-T Rec. H.241 H.264 Video
Capabilities"
size="7" pos="73" show="0.0.8.241.0.0.1" value="00088171000001"/>
</field>
<field name="h245.maxBitRate" showname="maxBitRate: 560"
s
ize="3" pos="80" show="560" value="400230"/>
<field name="per.sequence_of_length"
showname="Sequence-Of
Length: 2" hide="yes" size="1" pos="83" show="2" value="02"/>
<field name="h245.collapsing" showname="collapsing: 2
item
s" size="8" pos="84" show="2" value="02914002a3000f80">
<field name="" show="Item 0: Profile" size="3" pos="84"
value="029140">
<field name="h245.collapsing_item"
showname="collapsin
g item" size="3" pos="84" show="" value="">
<field name="per.extension_bit" showname="0... ....
Extension Bit: False" hide="yes" size="1" pos="84" show="0" value="0"
unmaskedva
lue="02"/>
<field name="per.optional_field_bit" showname=".0..
.... Optional Field Bit: False (supersedes is NOT present)" hide="yes" size="1"
pos="84" show="0" value="0" unmaskedvalue="02"/>
<field name="per.extension_bit" showname="..0. ....
Extension Bit: False" hide="yes" size="1" pos="84" show="0" value="0"
unmaskedva
lue="02"/>
<field name="per.choice_index" showname="Choice
Inde
x: 0" hide="yes" size="1" pos="84" show="0" value="02"/>
<field name="h245.parameterIdentifier"
showname="par
ameterIdentifier: standard (0)" size="1" pos="84" show="0" value="02">
<field name="h245.standard" showname="standard:
41
- Profile" size="2" pos="84" show="41" value="0291"/>
</field>
<field name="per.extension_bit" showname=".... 0...
Extension Bit: False" hide="yes" size="1" pos="85" show="0" value="0"
unmaskedva
lue="91"/>
<field name="per.choice_index" showname="Choice
Inde
x: 1" hide="yes" size="1" pos="85" show="1" value="91"/>
<field name="h245.parameterValue"
showname="paramete
rValue: booleanArray (1)" size="2" pos="85" show="1" value="9140">
<field name="h245.booleanArray"
showname="booleanA
rray: 64" size="1" pos="86" show="64" value="40"/>
<field name="h264.profile" showname="Profile:
0x40
, Baseline Profile" size="1" pos="0" show="0x40" value="**
ERROR:print.c:721:???: code should not be reached
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.