Age | Commit message (Collapse) | Author | Files | Lines |
|
"asn1_string_value_decode()", don't pass "g_malloc()" an argument of 0,
as "g_malloc()" will return NULL in that case, and the callers of
"asn1_string_value_decode()" aren't necessarily prepared for a null
argument.
svn path=/trunk/; revision=4876
|
|
"wtap_read()".
Add some additional error checks to the Sniffer file reader.
svn path=/trunk/; revision=4875
|
|
an "err" argument that points to an "int" into which to put an error
code if it fails.
Check for errors in one call to it, and note that we should do so in
other places.
In the "wtap_seek_read()" call in the TCP graphing code, don't overwrite
"cfile.pseudo_header", and make the buffer into which we read the data
WTAP_MAX_PACKET_SIZE bytes, as it should be.
In some of the file readers for text files, check for errors from the
"parse the record header" and "parse the hex dump" routines when reading
sequentially.
In "csids_seek_read()", fix some calls to "file_error()" to check the
error on the random stream (that being what we're reading).
svn path=/trunk/; revision=4874
|
|
Registration, Admission, and Status, so just call it "h225", not
"h225_cs".
svn path=/trunk/; revision=4871
|
|
svn path=/trunk/; revision=4870
|
|
svn path=/trunk/; revision=4869
|
|
svn path=/trunk/; revision=4868
|
|
svn path=/trunk/; revision=4867
|
|
svn path=/trunk/; revision=4866
|
|
svn path=/trunk/; revision=4861
|
|
svn path=/trunk/; revision=4860
|
|
Python iff PYTHON is defined in "config.nmake".
svn path=/trunk/; revision=4859
|
|
svn path=/trunk/; revision=4858
|
|
For file types where we allocate private data, add "close" routines
where they were missing, to free the private data. Also fix up the code
to clean up after some errors by freeing private data where that wasn't
being done.
Get rid of unused arguments to "wtap_dump_open_finish()".
Fix indentation.
svn path=/trunk/; revision=4857
|
|
svn path=/trunk/; revision=4856
|
|
svn path=/trunk/; revision=4855
|
|
addresses to really be quads, i.e. have four numbers.
svn path=/trunk/; revision=4854
|
|
detected, so we do a better job of reporting the item with the problem.
svn path=/trunk/; revision=4853
|
|
ASN1_ERR_NOERROR, as you can't have a dissection error if you've
dissected nothing.
When dissecting a Bind reply, set "ret" to the return value of
"dissect_ldap_response_bind()", so errors get reported properly.
svn path=/trunk/; revision=4851
|
|
just display the message type and body as an error.
If the message type isn't a type we dissect, display the "Unknown
message type" entry with the right offset and length.
svn path=/trunk/; revision=4850
|
|
request type.
Put the request types in order in the switch statement.
svn path=/trunk/; revision=4849
|
|
scripts, and check in changes to add _U_ to some unused arguments (some
other should perhaps be used, so we leave the _U_ out so that the
warnings serve as a reminder to check those).
svn path=/trunk/; revision=4848
|
|
scripts, and check in changes to add _U_ to some unused arguments (some
other should perhaps be used, so we leave the _U_ out so that the
warnings serve as a reminder to check those).
svn path=/trunk/; revision=4847
|
|
svn path=/trunk/; revision=4845
|
|
draft-ietf-tsvwg-sctpcsum-03.
svn path=/trunk/; revision=4844
|
|
svn path=/trunk/; revision=4843
|
|
other platforms, either) - don't use it. Instead, use "guint32", as the
item in question is a 32-bit unsigned integer.
In fact, it's a 32-bit unsigned integer containing a bit set, and the
data type isn't a "long", so print it with "0x%08x", rather than
"0x%04lx", so that all 8 hex digits are printed, and so that the format
matches the data type.
It also doesn't have to be initialized - the only code path in which
it's used sets it.
svn path=/trunk/; revision=4842
|
|
svn path=/trunk/; revision=4840
|
|
svn path=/trunk/; revision=4839
|
|
"proto_item_append_text()" to use the right names.
svn path=/trunk/; revision=4838
|
|
using Python if PYTHON isn't defined.
Fix up white space.
svn path=/trunk/; revision=4837
|
|
svn path=/trunk/; revision=4836
|
|
always set that pointer if they return ASN1_ERR_NOERROR. Have the
routines that call them use the value only if the routine returns
ASN1_ERR_NOERROR. Don't bother setting the pointer before calling the
routine.
Report unknown modify operation types.
svn path=/trunk/; revision=4834
|
|
that in the SNMP dissector.
Check the return values of ASN.1 routines in the LDAP dissector, and
have all the subroutines in that disesctor that can return error
indications return ASN1_ERR_ values.
Have the routines that can supply a pointer to a newly-created
protocol-tree item use the right type for items ("proto_item *", not
"proto_tree *", even though they are, at least currently, typedefs for
the same type), and use "proto_item" for the type of the item a pointer
to which is passed to those routines.
Before calling those routines, set the item pointer to null, in case the
routine fails.
Don't check the return value of "parse_filter_strings()" against -1 -
that routine can't return -1.
svn path=/trunk/; revision=4833
|
|
for the item should reflect what's in the subtree.
svn path=/trunk/; revision=4832
|
|
boundaries.
svn path=/trunk/; revision=4831
|
|
be initialized in gtk/follow_dlg.c
In gtk/follow_dlg.c, declare data_out_file as 'extern'.
In tethereal.c, no longer define 'data_out_file', as the storage
for it is now in follow.c.
svn path=/trunk/; revision=4830
|
|
svn path=/trunk/; revision=4829
|
|
signature of "call_dissector()".
svn path=/trunk/; revision=4828
|
|
From Joerg Mayer.
svn path=/trunk/; revision=4827
|
|
svn path=/trunk/; revision=4825
|
|
In the "configure.in" files, add
-D_U_="__attribute__((unused))"
to CFLAGS if we're using GCC, and add
-D_U_=""
otherwise, so _U_ can be used to mark arguments as unused.
Add -D_U_="" arguments to the Makefile.nmake files as well, so _U_ works
with Microsoft Visual C++ as well.
Add comments and RCS IDs to the Makefile.nmake files that don't already
have them.
svn path=/trunk/; revision=4824
|
|
non-existent functions.
Remove the "filetype" argument from the "can_write_encap" functions for
particular capture file types - the argument value is implicit, in that
the routine being called is the routine for that particular file type.
svn path=/trunk/; revision=4823
|
|
protocol that fragmented them, rather than just calling them
"Reassembled". Do the same with uncompressed WCP data.
svn path=/trunk/; revision=4822
|
|
setup packets.
svn path=/trunk/; revision=4818
|
|
dissector.
svn path=/trunk/; revision=4817
|
|
old-style dissector.
svn path=/trunk/; revision=4816
|
|
textual names of the PIB OIDs.
svn path=/trunk/; revision=4814
|
|
svn path=/trunk/; revision=4813
|
|
and group names, and use them instead of the numeric "alias" and "group"
fields when putting the names into the protocol tree.
svn path=/trunk/; revision=4812
|