Age | Commit message (Collapse) | Author | Files | Lines |
|
Don't assign the const pointers passed to hash routines to non-const
pointers.
In "zonenm_to_str()", don't assume there's a null terminator in the
packet - use "tvb_get_string()" so that the buffer into which it's
copied is explicitly null-terminated.
Put the Domain & Port into the protocol tree as a "0xXXXXXXXX" string,
rather than as a string with one blank in it.
svn path=/trunk/; revision=12909
|
|
"tvb_get_ptr()".
svn path=/trunk/; revision=12908
|
|
Make the names for list record types match the names used before the
previous checkin.
svn path=/trunk/; revision=12907
|
|
Make the protcol/version information an array of 8 bytes, not 2 guints;
not all the world's a (little-endian) PC!
svn path=/trunk/; revision=12906
|
|
Don't assign the const pointers passed to hash routines to non-const
pointers.
Don't use "tvb_get_ptr()" to get a pointer to a data structure, and
dereference that pointer - there's no guarantee that the structure in
question will be located on an appropriate boundary in the data from the
packet (regardless of whether it's properly aligned within the data for
the protocol being dissected).
Put the record length for an EFP request into the protocol tree.
Check the sanity of the payload length for that request.
In "zonenm_to_str()", don't assume there's a null terminator in the
packet - use "tvb_get_string()" so that the buffer into which it's
copied is explicitly null-terminated.
Put the Domain & Port into the protocol tree as a "0xXXXXXXXX" string,
rather than as a string with one blank in it.
svn path=/trunk/; revision=12905
|
|
Don't assign the const pointers passed to hash routines to non-const
pointers.
Don't assume that strings the spec says are null-terminated are
necessarily null-terminated in the packet - use "tvb_strsize()" to find
the length of the purported null-terminated string; it'll throw the
appropriate exception if no null is found.
svn path=/trunk/; revision=12904
|
|
svn path=/trunk/; revision=12903
|
|
- moved gop and gog indexes into gopcfgs, which is a propedeutic
change for upcoming changes in the way gops are to be grouped
- changed the way gog-keys are kept in memory
- every gopkey attribute is copied into the gop->extras to avoid
redundancy in the configuration
- added timers to gogs mate.gog_type.StartTime and mate.gog_type.Time
- fixed a bug in scs_subscribe that mangled some strings
- minor interface improvement to scs propedeutic to having types avp
values in a future
- changed medium and large into mate_medium and mate_large in the
scs_collection
- fixed Mode=Replace in Transforms, now it works
- fixed a crash at reinit due to impropper initialization of mate_items
svn path=/trunk/; revision=12902
|
|
Bring tap-h225counter.c in sync with newest revision of the h225 dissector
svn path=/trunk/; revision=12901
|
|
tree.
svn path=/trunk/; revision=12900
|
|
object pointed to by the non-const pointer won't be modified.
svn path=/trunk/; revision=12899
|
|
"const" pointer, and don't cast away the constness of "tvb_get_ptr()"s
result when passing it to "string_to_hex()".
svn path=/trunk/; revision=12898
|
|
"ip_to_str()" takes a "const guint8 *" argument.
svn path=/trunk/; revision=12897
|
|
non-null-terminated strings, so be safe and fetch the metatag string
with "tvb_get_string()".
svn path=/trunk/; revision=12896
|
|
specified value.
Make a constant array "const".
svn path=/trunk/; revision=12895
|
|
Don't supply our own definition of AF_INET or our own declaration of
"inet_pton()" - use the system ones if they're available.
"mkipv4_address()" doesn't modify the string passed to it - make it a
const pointer.
svn path=/trunk/; revision=12894
|
|
"ip_to_str()" and "ip6_to_str()".
Check the length of items for IPv4 and IPv6 addresses before displaying
them as such.
svn path=/trunk/; revision=12893
|
|
pointers.
Now that "col_set_str()" takes a "const char *" as the second argument,
we don't have to cast away the constness of strings passed to it.
svn path=/trunk/; revision=12892
|
|
svn path=/trunk/; revision=12891
|
|
pointers.
svn path=/trunk/; revision=12890
|
|
svn path=/trunk/; revision=12889
|
|
"const char *".
svn path=/trunk/; revision=12888
|
|
which they point.
svn path=/trunk/; revision=12887
|
|
svn path=/trunk/; revision=12886
|
|
so use a copy of the existing one for printing.
svn path=/trunk/; revision=12885
|
|
arguments passed in corresponding to those pointers are gconstpointers.
svn path=/trunk/; revision=12884
|
|
does "get_plugins_pers_dir()" - and "get_plugins_global_dir()" doesn't
return one either. Both of them return mallocated data, and making them
return a "const char *" just causes compiler whining when you try to
free them.
svn path=/trunk/; revision=12883
|
|
returns a "char *", so don't assign its return value to a "const char *".
svn path=/trunk/; revision=12882
|
|
one.
"get_basename()" doesn't modify its argument, and its callers don't
modify the substring pointed to by the result, so make it take a "const
char *" as an argument and return a "const char *".
"find_last_pathname_separator()" doesn't modify its argument, so make it
a "const char *" - but some of its callers pass a non-"const" "char *"
and modify the result, so don't make its return value a "const char *".
And, as none of its callers are outside "filesystem.c", make it static.
In "about_folders_page_new()", have separate variables for pathnames
returned as "const char *" (which are cached by the routine that returns
them, so you can't modify them - and can't free them, so get rid of the
commented-out "g_free()" calls for them) and pathnames returned as "char
*" (which are allocated anew for each call, and can be modified, but
have to be freed).
Clean up white space.
svn path=/trunk/; revision=12881
|
|
array of "const char *" rather than to an array of "char *", and make
the second argument of "col_set_str()" a "const char *" - there's no
guarantee that "col_data" points to something you're allowed to modify.
svn path=/trunk/; revision=12880
|
|
"bytes_to_str_punct()", and use it instead of extracting the bytes and
formatting them by hand.
Also, export "bytes_to_str_punct()".
svn path=/trunk/; revision=12879
|
|
array of "const char *" rather than to an array of "char *", and make
the second argument of "col_set_str()" a "const char *" - there's no
guarantee that "col_data" points to something you're allowed to modify.
svn path=/trunk/; revision=12878
|
|
"update_adler32()", and the corresponding argument is a "const unsigned
char *", so that argument can be a "const unsigned char *".
svn path=/trunk/; revision=12877
|
|
"bytes_to_str_punct()", and use it instead of extracting the bytes and
formatting them by hand.
svn path=/trunk/; revision=12876
|
|
array of "const char *" rather than to an array of "char *", and make
the second argument of "col_set_str()" a "const char *" - there's no
guarantee that "col_data" points to something you're allowed to modify.
svn path=/trunk/; revision=12875
|
|
the #ifdefs.
Don't use "%ll[doux]" - not all platforms use "ll" as the length
specifier for 64-bit integers in formats. Use PRI[doux]64 instead, to
handle platforms where some other length specifier is used.
svn path=/trunk/; revision=12874
|
|
dissectors with asn2etrh
svn path=/trunk/; revision=12873
|
|
dissectors with asn2etrh
svn path=/trunk/; revision=12872
|
|
dissectors with asn2etrh
svn path=/trunk/; revision=12871
|
|
svn path=/trunk/; revision=12870
|
|
svn path=/trunk/; revision=12869
|
|
svn path=/trunk/; revision=12868
|
|
svn path=/trunk/; revision=12867
|
|
svn path=/trunk/; revision=12866
|
|
svn path=/trunk/; revision=12865
|
|
svn path=/trunk/; revision=12864
|
|
to resolve it to a name.
Fix up some const-pointer-to-non-const-pointer, and
function-pointer-to-void-*, conversions.
Fix some comments.
svn path=/trunk/; revision=12863
|
|
in an enum.
svn path=/trunk/; revision=12862
|
|
structures with non-constant values).
svn path=/trunk/; revision=12861
|
|
using AC_SYS_LARGEFILE.
svn path=/trunk/; revision=12860
|