Ronnie Sahlberg
ebc0197755
remove two redundant strcpy so they dont show up as noice for grep strcpy *.c
...
svn path=/trunk/; revision=16231
2005-10-15 23:26:32 +00:00
Guy Harris
f6ef22c553
Have show_exception() take a "const char *" as its exception message,
...
and not free the string to which it points. Pass to
REPORT_DISSECTOR_BUG() strings allocated with ep_strdup_printf(), so
that they're freed automatically.
svn path=/trunk/; revision=16039
2005-09-28 16:16:37 +00:00
Ulf Lamping
57d099a0c2
some things fixed, leftover from code cleanup (thanks to the buggy MSVC dependencies)
...
svn path=/trunk/; revision=15755
2005-09-11 17:15:00 +00:00
Ulf Lamping
642467ad5c
I'm adding the "Expert Info" prototype now, as it seems to be in a state where others might have a look and probably already find it useful :-). Anyway, we can easily disable it at one or two places in the code if it get's in our way of a new release.
...
Please see: http://wiki.ethereal.com/Development/ExpertInfo for a complete overview of the intended feature and it's current state of implementation.
While I'm working on this, I've also added some more status result codes to the DCE/RPC and DCOM dissectors.
svn path=/trunk/; revision=15754
2005-09-11 16:55:34 +00:00
Ulf Lamping
0dc9fb3d4a
various code cleanup:
...
-use g_snprintf instead of sprintf and snprintf
-use g_strdup_printf where appropriate
-remove #include "snprintf.h" (as only g_snprintf should be used)
-replace some more alloc/realloc/calloc/free with their glib pendants
svn path=/trunk/; revision=15264
2005-08-08 18:50:39 +00:00
Jörg Mayer
5602f5bb83
Make some funtions static. More char -> const char warning fixes
...
svn path=/trunk/; revision=15146
2005-07-30 01:01:02 +00:00
Jörg Mayer
7949c7f31c
char -> const char warning fixes
...
svn path=/trunk/; revision=15079
2005-07-26 08:01:16 +00:00
Guy Harris
554f620001
Constify to remove a bunch of warnings. Add some casts to squelch
...
(presumably-)harmless-but-otherwise-unremovable const-to-nonconst
warnings.
In the TACACS dissector, clean up the variables used in option parsing
to avoid some const-to-nonconst warnings.
Clean up some white space.
svn path=/trunk/; revision=15043
2005-07-24 19:01:28 +00:00
Ulf Lamping
46ff66522f
prevent "Dissector Bug": prevent a string processing of length 0
...
svn path=/trunk/; revision=14516
2005-06-01 19:19:40 +00:00
Ulf Lamping
e821e8a1f2
fix handling, if ArraySize of a BSTR is 0,
...
replace a g_assert by DISSECTOR_ASSERT
svn path=/trunk/; revision=14503
2005-05-31 08:02:24 +00:00
Ulf Lamping
772af896b9
add a tvb_ensure_bytes_exist() to prevent a dissector bug
...
svn path=/trunk/; revision=14502
2005-05-30 22:40:55 +00:00
Ulf Lamping
5fd2ecb1d5
add values for STDOBJREF flags
...
svn path=/trunk/; revision=14428
2005-05-24 20:00:14 +00:00
Gerald Combs
01270e7e44
Don't call proto_item_set_len() with a negative length. Found during
...
fuzz testing.
svn path=/trunk/; revision=14242
2005-04-30 16:08:29 +00:00
Guy Harris
75e4d0a2ce
Use the 64-bit integer fetch routines to support 64-bit NDR integers.
...
svn path=/trunk/; revision=13198
2005-01-29 20:39:14 +00:00
Ulf Lamping
aa139758f9
add new function dissect_dcerpc_uuid_t and let dissect_ndr_uuid_t call it
...
svn path=/trunk/; revision=13006
2005-01-12 21:20:50 +00:00
Guy Harris
b40e2e4dfb
Get rid of extra include of <string.h>.
...
svn path=/trunk/; revision=12794
2004-12-20 22:51:05 +00:00
Ulf Lamping
da27f1fac3
Removed some of the unix related warnings. I'll remove the remaining DCOM related ones in the next days, step by step (by looking at the buildbot output).
...
svn path=/trunk/; revision=12793
2004-12-20 22:29:24 +00:00
Guy Harris
65d7e1d97c
Include <string.h> to declare various functions.
...
svn path=/trunk/; revision=12792
2004-12-20 22:25:13 +00:00
Ronnie Sahlberg
1574f4dd5e
g_strescape only takes one parameter in glib 1.x
...
this makes ethereal compile for those of us that are not on the bleeding edge.
(gtk1 is much better anyway)
svn path=/trunk/; revision=12785
2004-12-20 08:44:10 +00:00
Ulf Lamping
2b02b27b29
add some IRemUnknown dissectors
...
svn path=/trunk/; revision=12782
2004-12-19 16:49:34 +00:00
Ulf Lamping
e3f96e79e7
add a lot of dissect stuff to the OXID resolver, moved some details of the DUALSTRINGARRAY to packet-dcom.c
...
svn path=/trunk/; revision=12779
2004-12-19 16:13:05 +00:00
Ulf Lamping
ea0baf468e
(on behalf of the PROFIBUS Nutzerorganisation e.V. Deutschland):
...
another part of the PROFINET dissectors (PN-CBA, including a lot of generic DCOM dissection) still some work to be done ...
svn path=/trunk/; revision=12776
2004-12-19 13:46:09 +00:00