aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
AgeCommit message (Collapse)AuthorFilesLines
2012-12-26bytestring_to_str() now returns a const char *; assign its result to aGuy Harris1-1/+1
const char *, not a char *. svn path=/trunk/; revision=46769
2012-12-26Fix a bunch of warnings.Guy Harris9-15/+17
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-12-21Squelch a qualifier-discard warning.Guy Harris1-1/+1
svn path=/trunk/; revision=46664
2012-12-21Get rid of unused routines for UDC-type.Guy Harris1-1/+1
svn path=/trunk/; revision=46662
2012-12-18When copying addresses, also copy the (new) hf field.Jeff Morriss2-185/+166
Use SET_ADDRESS in some dissectors that weren't using it (so that the hf field is correctly initialized). Introduce a COPY_ADDRESS_SHALLOW (which copies an address without copying the contents of the data field). svn path=/trunk/; revision=46602
2012-12-13Fix what seems to be a typo errorPascal Quantin1-1/+1
svn path=/trunk/; revision=46528
2012-12-13From John Batty via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8087 :Pascal Quantin1-1/+1
H.248 MEGACO PkgName property is poorly formatted svn path=/trunk/; revision=46526
2012-12-12Moved users table lookup to find_oid_by_pres_ctx_id() so otherStig Bjørlykke3-32/+27
dissectors (acse, ros, rtse) can benefit from the configured settings. svn path=/trunk/; revision=46520
2012-12-12"Fill" a couple of value_string(ext)Anders Broman1-0/+5
svn path=/trunk/; revision=46518
2012-12-07Added deltaRevocationList.Stig Bjørlykke2-3/+4
svn path=/trunk/; revision=46438
2012-12-03Fix [-Wshadow] warnings.Bill Meier2-9/+9
svn path=/trunk/; revision=46357
2012-11-30Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8023 :Pascal Quantin1-1/+1
Fix typo in LPPa protocol name svn path=/trunk/; revision=46300
2012-11-29Make all enum_val_t's const.Jeff Morriss4-48/+48
svn path=/trunk/; revision=46292
2012-11-26Add missing OPTIONAL keyword in RRCConnectionRequest messagePascal Quantin1-1/+1
svn path=/trunk/; revision=46202
2012-11-18You can't return from inside a TRY/CATCH/ENDTRY block (seeGuy Harris1-12/+32
epan/exceptions.h; it crashes). Try BER first, including both the test dissection and the check of the results. If that fails due to an exception being thrown, or due to the results not indicating that it's a BER-encoded T.125 packet, try PER, so that if the BER dissection doesn't work we don't just give up. Get rid of some _U_s attached to parameters that are, in fact, used. svn path=/trunk/; revision=46066
2012-11-18In the heuristic T.124 dissector, catch BoundsError andGuy Harris1-9/+21
ReportedBoundsError exceptions when attempting to dissect the first bit of the packet and, if either is thrown, assume the packet isn't a packet for what we were trying to dissect, rather than just completely failing. Return TRUE if the heuristic T.124 dissector recognizes the packet. Get rid of some _U_s attached to parameters that are, in fact, used. svn path=/trunk/; revision=46064
2012-11-16Added a try-catch in the heuristics to avoid a false malformed packetStig Bjørlykke1-8/+12
error when having no data (occurs in COTP CR and CC). svn path=/trunk/; revision=46038
2012-11-16If we have an com_context_id entry reuse that.Anders Broman2-74/+87
svn path=/trunk/; revision=46036
2012-11-15Add and prettify debug info - will regenerate dissector laterAnders Broman1-49/+105
svn path=/trunk/; revision=46034
2012-11-14Dissable code causing a crash. Add debug printouts and add a few more ↵Anders Broman2-13/+70
visited checks. svn path=/trunk/; revision=46029
2012-11-13Pacify OSX-10.5 buildbotsPascal Quantin1-4/+4
svn path=/trunk/; revision=46017
2012-11-12Added attributes from RFC 2798.Stig Bjørlykke3-1/+16
svn path=/trunk/; revision=46013
2012-11-12Fix detection of H-RNTI when it is given after the DL-TransportChannelType ↵Pascal Quantin3-27/+29
configuration (typically in case of handoverToUTRANCommand) svn path=/trunk/; revision=46012
2012-11-12Fixed some typosStig Bjørlykke2-4/+4
svn path=/trunk/; revision=46009
2012-11-12Update ACP133 to edition D.Stig Bjørlykke6-14/+138
svn path=/trunk/; revision=46008
2012-11-09Use a subtree for message containersPascal Quantin2-71/+90
svn path=/trunk/; revision=45986
2012-11-08Only append oid name to parent item once when having RDN as a attribute.Stig Bjørlykke1-3/+1
svn path=/trunk/; revision=45965
2012-11-07Avoid accessing a no more valid tvbuffPascal Quantin2-2/+10
svn path=/trunk/; revision=45957
2012-11-06Fix dissection of NAS security parameters to/from E-UTRAPascal Quantin2-10/+13
svn path=/trunk/; revision=45950
2012-11-06Dissect lat. long and Uncertainty-Code.Anders Broman2-0/+28
svn path=/trunk/; revision=45946
2012-11-05Dissect the positioning data.Anders Broman2-5/+148
svn path=/trunk/; revision=45932
2012-11-05Use little endian MNC encoding.Anders Broman1-2/+3
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7952 svn path=/trunk/; revision=45931
2012-11-01From LI Hai:Anders Broman1-3/+3
According to Table 161 in ETSI 392-2 standard, the Class of MS field in U-LOCATION UPDATE DEMAND in tetra.asn is incorrect. the type of Class of MS field should be Type 2, not Type 1, and the length should be 24 bits, not 32bits. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7946 svn path=/trunk/; revision=45857
2012-10-24To indicate that all bytes in the tvb were consumed, just return ↵Chris Maynard1-1/+1
tvb_reported_length(). svn path=/trunk/; revision=45775
2012-10-21AddressString can have a size of 1, fixes Bug 7882 -GSM_MAP show malformed ↵Anders Broman1-0/+3
Packets when two IMSI https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7882 svn path=/trunk/; revision=45687
2012-10-09From Bill Parker:Anders Broman3-14/+14
Explicitly declare/cast 'unsigned <variable>' as 'unsigned int <variable>' https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7810 svn path=/trunk/; revision=45418
2012-09-30Upgrade LTE RRC dissector to v11.1.0Pascal Quantin5-47/+545
svn path=/trunk/; revision=45215
2012-09-28Revert r21471: previous decoding of APN was matching 3GPP 23.003 chapter 9.1 ↵Pascal Quantin1-1/+16
and the pcap file attached to bug 1543 is not valid svn path=/trunk/; revision=45194
2012-09-28Upgrade LTE Positioning Protocol to V11.0.0Pascal Quantin3-6/+14
svn path=/trunk/; revision=45193
2012-09-23Let's be consistent and display lte_rrc root for all LTE RRC messagesPascal Quantin2-57/+91
svn path=/trunk/; revision=45080
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss97-287/+93
svn path=/trunk/; revision=45015
2012-09-19From LI Hai via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7736 :Pascal Quantin2-7/+2
Fix dissection error of D-RELEASE and D-CONNECT in TETRA dissector svn path=/trunk/; revision=45004
2012-09-11Upgrade LTE RRC dissector to v11.0.0Pascal Quantin4-7/+7
svn path=/trunk/; revision=44875
2012-09-11Add data parameter to dissector_try_uint_newJakub Zawadzki4-22/+22
svn path=/trunk/; revision=44874
2012-09-11Add data parameter to call_dissector_only.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=44872
2012-09-11Add data parameter to dissector_try_heuristicJakub Zawadzki3-4/+4
svn path=/trunk/; revision=44871
2012-09-10Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki46-260/+259
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
2012-09-10Propage changes done in generated dissectors to asn1/Jakub Zawadzki6-39/+43
svn path=/trunk/; revision=44845
2012-09-03MT: move global frame_end_routines to packet_info.Jakub Zawadzki2-6/+6
svn path=/trunk/; revision=44748
2012-08-24match display filter prefix for all filtersMichael Mann1-3/+3
svn path=/trunk/; revision=44653