Commit Graph

125 Commits

Author SHA1 Message Date
Stig Bjørlykke 1c9cbffcdf From Neil Piercy (bug 3299):
Added support for length greater than 127 (less than 16K).

svn path=/trunk/; revision=27603
2009-03-03 22:46:47 +00:00
Bill Meier c0e92cbc04 Fix various typos and spelling errors (mostly in text strings)
svn path=/trunk/; revision=27065
2008-12-20 00:09:02 +00:00
Stig Bjørlykke 76ba68775b Do not call a variable value_string as we have a struct with this name.
svn path=/trunk/; revision=26658
2008-10-31 18:42:53 +00:00
Stig Bjørlykke e6a22e689e Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26648
2008-10-31 15:34:00 +00:00
Tomas Kukosa 1644e4138a Get rid of few warnings (unused generated code, signed/unsigned mismatch)
svn path=/trunk/; revision=25839
2008-07-26 15:28:04 +00:00
Anders Broman db62900421 Add an expert item warning if a full sequence isn't decoded. ( take 2)
svn path=/trunk/; revision=25486
2008-06-19 14:19:13 +00:00
Stig Bjørlykke db455a9899 Initialize new_offset.
svn path=/trunk/; revision=25485
2008-06-19 12:36:30 +00:00
Anders Broman a4614ab3ef Add an expert item warning if a full sequence isn't decoded.
svn path=/trunk/; revision=25484
2008-06-19 12:16:26 +00:00
Stig Bjørlykke 772b24c149 Fix the crash from bug 2432. I don't really like that we use a new tvb
and a new data source for displaying unaligned octet strings, because the
user cannot easily see where in the data package the values are from.

Maybe we should implement a "Packet Bits" pane for bit protocols?
Or just an option to turn the Bytes pane to a Bits pane?

Another problem is that the generated pdml (from the bug report) does not
generate correct data for these fields, as the "pos" value is always zero
(because we use a new tvb with offset 0).  But I suppose it's difficult to
fix this with byte values...

svn path=/trunk/; revision=24992
2008-04-13 16:42:41 +00:00
Anders Broman 052b1a488f Return value tvb if pressent from all branches.
svn path=/trunk/; revision=24698
2008-03-19 19:10:31 +00:00
Tomas Kukosa df1763c49b fix from Anders: offset->boffset
svn path=/trunk/; revision=24697
2008-03-19 09:14:47 +00:00
Anders Broman 8ad1d17b61 Handle the case where length is > remaining tvb
trace in:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1809

svn path=/trunk/; revision=24691
2008-03-18 20:10:50 +00:00
Stig Bjørlykke b091b8d26c Rewrote to use g_strlcpy and g_strlcat.
svn path=/trunk/; revision=24525
2008-03-01 17:23:39 +00:00
Guy Harris fb32ed8812 Get rid of non-ASCII characters.
svn path=/trunk/; revision=24171
2008-01-23 20:15:13 +00:00
Stig Bjørlykke 01b304a6b7 Moved a G_GINT64_CONSTANT to a more correct position.
svn path=/trunk/; revision=24108
2008-01-15 23:25:40 +00:00
Anders Broman 5bbef7d0c0 Use G_GINT64_CONSTANT(hope it makes the OS X build bot happy).
Unused variables fix to camel.

svn path=/trunk/; revision=24106
2008-01-15 22:23:57 +00:00
Anders Broman 7e572a34c0 Use G_GINT64_CONSTANT(hope it makes the build bot happy).
svn path=/trunk/; revision=24105
2008-01-15 22:07:29 +00:00
Anders Broman a49fc8640c Use G_GINT64_MODIFIER hope it makes the build bot happy.
Probbably needed in x2ap as well (needs asn2wrs support or .cnf magic).

svn path=/trunk/; revision=24104
2008-01-15 21:57:50 +00:00
Anders Broman 6cb56fba71 make per_constrained_integer handle 64bits needed for X2AP.
svn path=/trunk/; revision=24097
2008-01-15 17:59:43 +00:00
Tomas Kukosa f5614d71cd set actx->created_item for object identifier type
svn path=/trunk/; revision=23994
2008-01-03 08:19:27 +00:00
Tomas Kukosa 7529f33437 support for additionally SIZE constrained Typereference
the support is only semiautomated as this feature does not occur very often
use this feature for the TBCD-STRING in the H.225 dissector

svn path=/trunk/; revision=23958
2007-12-28 10:42:44 +00:00
Tomas Kukosa 48eb58a0d4 do not align before enumerated extension
svn path=/trunk/; revision=23916
2007-12-18 10:15:31 +00:00
Anders Broman dbcabb1938 Get rid of most of the legacy oid stuff.
svn path=/trunk/; revision=23333
2007-11-01 22:07:43 +00:00
Tomas Kukosa 84488ec016 asn2wrs
- parameterized object class assignment
 - octet string with extensible size constraint
 - RELATIVE-OID type (still not supported in packet-per/ber)
packet-per
 - octet string with extensible size constraint
more dissect_per_... functions exported from libwireshark.dll
PER dissectors regenerated
add forgotten packet-h323-template.h
fix svn properties for h323 files

svn path=/trunk/; revision=23309
2007-10-29 19:25:37 +00:00
Tomas Kukosa 10a6ffc497 add flags for optional fields of EXTERNAL type into asn1_ctx_t struct
svn path=/trunk/; revision=23238
2007-10-22 12:25:56 +00:00
Tomas Kukosa 7cca38408f make dissect_per_length_determinant() private
svn path=/trunk/; revision=23214
2007-10-17 09:51:27 +00:00
Tomas Kukosa 22bd99f76b PER: fix bitstring handling if SIZE(n) where n<=16
SABP: implement some forgotten code

svn path=/trunk/; revision=22896
2007-09-18 11:46:50 +00:00
Anders Broman 64bafc6a18 Remove debug code and a "lost" line.
svn path=/trunk/; revision=22808
2007-09-06 16:28:08 +00:00
Stig Bjørlykke f1cf7ee6bf Fixed compiler warnings to get the buildbot going.
svn path=/trunk/; revision=22787
2007-09-04 21:49:14 +00:00
Anders Broman b3521c5975 value_tvb=out_tvb, remove unused variables.
svn path=/trunk/; revision=22785
2007-09-04 19:36:07 +00:00
Anders Broman a76efadf0c Get correct value for bitstrings.
svn path=/trunk/; revision=22784
2007-09-04 16:57:07 +00:00
Anders Broman 51460c5a5f fix dissect_per_bit_string() for unaligned PER, values ar still not correctly displayed.
svn path=/trunk/; revision=22758
2007-08-30 19:44:22 +00:00
Luis Ontanon bcd55f4c8e replace oid_to_str_buf() and oid_to_str()
fix a potential buffer overflow due to a very liberal estimate by oid_repr_len()


svn path=/trunk/; revision=22659
2007-08-25 17:29:55 +00:00
Tomas Kukosa 5a46ea46b5 H.450 regenerated from original ASN.1 sources
svn path=/trunk/; revision=22417
2007-07-30 08:01:59 +00:00
Tomas Kukosa ab5d466fc7 rose_ctx_t structure usage in Q.932 dissector
svn path=/trunk/; revision=22349
2007-07-18 13:15:36 +00:00
Jeff Morriss 520296ca02 Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1675 (warning: cast from pointer to integer of different size) and, presumably, display of PER encoded IPv4 addresses by copying the IP address into a guint32 and passing that to proto_tree_add_ipv4().
svn path=/trunk/; revision=22328
2007-07-16 21:37:07 +00:00
Tomas Kukosa 6659588f60 - get rid of anonymous unions
- move some structures from packet-per and packet-q932-ros to asn1.h

svn path=/trunk/; revision=22295
2007-07-13 11:25:53 +00:00
Anders Broman 44a41824c3 Fix dissection of IP addresses in unaligned PER.
Add dissection of MSISDN and IMSI to the ULP dissector.

svn path=/trunk/; revision=22233
2007-07-03 09:08:31 +00:00
Anders Broman 9af02b5130 Change actx->external.direct_reference to be the OID string.
Use it in BER direct reference to call the OID dissector.

svn path=/trunk/; revision=22097
2007-06-14 05:17:07 +00:00
Tomas Kukosa d105a414d0 fix warning
svn path=/trunk/; revision=21907
2007-05-23 14:31:12 +00:00
Tomas Kukosa e8ecaf723b support of CONTAINING constraint in OCTET STRING and BIT STRING
svn path=/trunk/; revision=21905
2007-05-23 13:36:25 +00:00
Jörg Mayer 21adfc3029 Trivial warning fixes:
opcua: warning: function declaration isn't a prototype
rest: comma at end of enumerator

svn path=/trunk/; revision=21885
2007-05-22 13:17:24 +00:00
Tomas Kukosa 52b3c8baf4 fix packet-per.c:155: warning: 'val_tvb' may be used uninitialized in this function
svn path=/trunk/; revision=21763
2007-05-14 14:17:42 +00:00
Tomas Kukosa 61ffcf48a9 - more variants of dissect_per_open_type_*()
- move asn1_get_real() to asn1.c/.h

svn path=/trunk/; revision=21757
2007-05-14 13:39:31 +00:00
Tomas Kukosa a8c10b431f changes in external structure of asn1_ctx_t
svn path=/trunk/; revision=21714
2007-05-07 11:25:21 +00:00
Anders Broman 98cb9db12d Split out asn1 common functions. Start of BER EXTERNAL.
svn path=/trunk/; revision=21670
2007-05-03 21:52:57 +00:00
Tomas Kukosa 6e491e8c3b REAL type support
svn path=/trunk/; revision=21658
2007-05-03 09:15:04 +00:00
Tomas Kukosa cd06093bcc fix forgotten calling of dissect_per_External()
svn path=/trunk/; revision=21645
2007-05-02 12:48:22 +00:00
Ronnie Sahlberg 9efe581adc comment out a unused function so that wireshark builds on suse again
svn path=/trunk/; revision=21644
2007-05-02 12:34:28 +00:00
Ronnie Sahlberg 3abb8dd622 fix some compiler warnings leading to compile failure
svn path=/trunk/; revision=21643
2007-05-02 12:26:26 +00:00