Guy Harris
a97af4919b
Arrays indexed by a 1-octet unsigned value, if we don't know which
...
values are permitted, must have 256 elements, not 255 elements.
svn path=/trunk/; revision=9399
2003-12-21 22:24:41 +00:00
Guy Harris
ecbfe2fb77
"sizeof(array)" is the size of the array in bytes, not the number of
...
elements in the array.
svn path=/trunk/; revision=9398
2003-12-21 22:21:45 +00:00
Guy Harris
9ce5cd3548
In the MLUM-is-defined code path, "idx" is set - the only issue is if
...
MLUM isn't defined (which it isn't, by default).
svn path=/trunk/; revision=9397
2003-12-21 21:41:10 +00:00
Guy Harris
331b8b5a8b
Add, for \xXX, the same sanity check (that 0xXX fits in a single byte)
...
that we have for \0OOO.
svn path=/trunk/; revision=9396
2003-12-21 21:04:56 +00:00
Olivier Biot
8e6953dcfe
Fix a sprintf to non-malloc()ed memory by using g_strdup_printf() and g_free().
...
svn path=/trunk/; revision=9395
2003-12-21 18:12:33 +00:00
Jörg Mayer
297032573f
warning: static declaration for ... follows non-static
...
svn path=/trunk/; revision=9394
2003-12-21 12:21:37 +00:00
Ulf Lamping
3b77bfee59
removed some MSVC warnings (moved pcap.h before glib.h)
...
svn path=/trunk/; revision=9393
2003-12-21 12:19:39 +00:00
Ulf Lamping
6126aad3b2
removed MSVC warning (uninitialized value)
...
svn path=/trunk/; revision=9392
2003-12-21 12:08:35 +00:00
Jörg Mayer
b87ead52d3
warning: overflow in implicit constant conversion
...
svn path=/trunk/; revision=9391
2003-12-21 12:07:09 +00:00
Jörg Mayer
3086e0b9e7
warning: ISO C does not allow extra ; outside of a function
...
svn path=/trunk/; revision=9390
2003-12-21 11:40:45 +00:00
Jörg Mayer
7d6833db51
Updated to Dec 12 2003
...
svn path=/trunk/; revision=9389
2003-12-21 11:38:59 +00:00
Jörg Mayer
8d1f1c9b4f
libpcap.c:1777: warning: implicit declaration of function htons
...
svn path=/trunk/; revision=9388
2003-12-21 06:02:06 +00:00
Jörg Mayer
e78aba0a40
warning: ISO C does not allow extra ; outside of a function
...
svn path=/trunk/; revision=9387
2003-12-21 05:51:34 +00:00
Jörg Mayer
56f992a47f
warning: ISO C does not allow extra ; outside of a function
...
svn path=/trunk/; revision=9386
2003-12-21 05:29:26 +00:00
Jörg Mayer
04dc6ff0ea
warning: no newline at end of file
...
svn path=/trunk/; revision=9385
2003-12-21 04:40:14 +00:00
Jörg Mayer
b8923a41e8
warning: comma at end of enumerator list
...
svn path=/trunk/; revision=9384
2003-12-21 04:38:41 +00:00
Jörg Mayer
3f020f582e
Compiling with -pedantic:
...
warning: comma at end of enumerator list
svn path=/trunk/; revision=9383
2003-12-21 04:31:58 +00:00
Jörg Mayer
951b535247
SoulSeek is not yet in
...
svn path=/trunk/; revision=9382
2003-12-21 04:27:04 +00:00
Jörg Mayer
72eaefab9b
No more FAQ.include
...
svn path=/trunk/; revision=9381
2003-12-21 04:25:57 +00:00
Jörg Mayer
9cdb5da91f
Compiling with -pedantic:
...
packet-v5ua.c:1044:139: warning: C++ style comments are not allowed in ISO C90
svn path=/trunk/; revision=9380
2003-12-21 04:20:02 +00:00
Jörg Mayer
c4777bfffc
Compiling with -pedantic:
...
packet-rmi.h:67: warning: comma at end of enumerator list
svn path=/trunk/; revision=9379
2003-12-21 03:58:29 +00:00
Jörg Mayer
9d2915a7e6
Compiling with -pedantic:
...
moduleinfo.h:16:24: warning: no newline at end of file
svn path=/trunk/; revision=9378
2003-12-21 03:53:33 +00:00
Jörg Mayer
ad28a88d72
Compiling with -pedantic:
...
packet-irda.c:453:1: warning: C++ style comments are not allowed in ISO C90
packet-irda.c:453:1: warning: (this will be reported only once per input file)
(+ several more // disabling debug output)
svn path=/trunk/; revision=9377
2003-12-21 03:48:27 +00:00
Jörg Mayer
34406b689f
Compiling with -pendantic:
...
../../packet-giop.h:579: warning: comma at end of enumerator list
svn path=/trunk/; revision=9376
2003-12-21 03:44:00 +00:00
Jörg Mayer
f1218206e3
Update FAQ to December 12 2003
...
svn path=/trunk/; revision=9375
2003-12-21 03:20:35 +00:00
Jörg Mayer
9345308925
The include file is generated elsewhere
...
svn path=/trunk/; revision=9374
2003-12-21 03:17:54 +00:00
Jörg Mayer
77c6d4e968
The FAQ is now located in help/
...
svn path=/trunk/; revision=9373
2003-12-21 03:06:49 +00:00
Jörg Mayer
5dafc027dc
Manuf updates
...
svn path=/trunk/; revision=9372
2003-12-21 02:54:48 +00:00
Ulf Lamping
d604209b21
removed some MSVC warnings (added type casts)
...
svn path=/trunk/; revision=9371
2003-12-21 00:16:54 +00:00
Ulf Lamping
dea93d2bee
removed some MSVC warnings (added type casts)
...
svn path=/trunk/; revision=9370
2003-12-20 23:50:50 +00:00
Olivier Biot
44ea0de58f
Move display filter into filtered packets frame.
...
Fix NaN when a capture and/or a filter don't have any matching packets
so the average packet size is obtained by dividing by zero.
svn path=/trunk/; revision=9369
2003-12-20 12:03:35 +00:00
Guy Harris
20d1488b65
Not all C compilers allow declarations in the middle of executable
...
code.
svn path=/trunk/; revision=9368
2003-12-20 09:09:10 +00:00
Guy Harris
1a347fc00f
Do the special "if the first fragment we see is also the final fragment,
...
treat it as a reassembled frame" hack *only* for 802.11, as that's the
only protocol we know of that requires it.
svn path=/trunk/; revision=9367
2003-12-20 03:21:20 +00:00
Guy Harris
39f5418dc0
From Lars Roland:
...
use the common display filter dialog infrastructure in the MGCP
service response time tap;
add common infrastructure for updating the titles of tap dialogs
when the capture file name changes.
svn path=/trunk/; revision=9366
2003-12-19 23:41:55 +00:00
Guy Harris
bbcb86c564
From Lars Roland: fix a typo.
...
svn path=/trunk/; revision=9365
2003-12-19 23:25:05 +00:00
Guy Harris
58c3106a92
From David Fort: support for decoding MLD v2 report messages.
...
svn path=/trunk/; revision=9364
2003-12-19 23:20:53 +00:00
Guy Harris
1a42ce6457
From David Fort: update some comments now that RFC 3658 is out, and fix
...
a typo in the AUTHORS file.
svn path=/trunk/; revision=9363
2003-12-19 23:13:42 +00:00
Guy Harris
29bc812334
Add an hf[] entry for the OPT_FRAG_OFF field of the OPT_FRAGMENT option
...
(the hf_ variable for it existed, but there was no hf[] entry, so it
didn't get initialized).
svn path=/trunk/; revision=9362
2003-12-19 22:46:16 +00:00
Guy Harris
1feecfa0df
Don't store the result of "tvb_reported_length()" into a "guint8" - it
...
could be more than 255 (even if that "shouldn't happen").
Don't use "frags != 0" as an indication that the message was fragmented
- that can't handle bogus packets with a zero fragment count. Have an
explicit variable for that.
Check that "sm_data_len" isn't 0 before attempting dissection or
reassembly.
Check that "frag" and "frags" aren't zero before attempting reassembly
(arguably, we should report both of those as errors).
Use "process_reassembled_data()" to do the bulk of the work for
reassembly - it handles the case where a "fragmented" packet has only
one fragment. This fixes a crash that occurred when only the last
fragment was seen, although there's an underlying problem there, namely
that the hack tha "fragment_add_seq_check()" does to handle some
problems with some 802.11 captures causes it to consider a packet where
the first fragment seen is also the last fragment as a one-fragment
packet; we probably need to do that *only* for 802.11.
svn path=/trunk/; revision=9361
2003-12-19 22:31:40 +00:00
Guy Harris
8b0f0d5b7e
Add some additional sanity checking.
...
svn path=/trunk/; revision=9360
2003-12-19 22:23:05 +00:00
Olivier Biot
21a6fddb35
Add debug logging to the MMSE dissector.
...
svn path=/trunk/; revision=9359
2003-12-19 20:26:59 +00:00
Olivier Biot
a1f13f591e
Add extra debug logging. Fix typo in debug log explanation.
...
svn path=/trunk/; revision=9358
2003-12-19 20:16:04 +00:00
Guy Harris
3adea4e389
From Peter Fales: count IPX-over-ARCNET packets in "capture_arcnet()".
...
svn path=/trunk/; revision=9357
2003-12-19 19:09:49 +00:00
Guy Harris
87347d7867
Note that "uchar", "u_char", "u_short", "u_int", and "u_long" are also
...
forbidden.
svn path=/trunk/; revision=9356
2003-12-19 19:08:00 +00:00
Guy Harris
b3557944ff
Don't use "u_char", use "guchar" for characters and "guint8" for 8-bit
...
unsigned integers.
svn path=/trunk/; revision=9355
2003-12-19 19:03:13 +00:00
Gilbert Ramirez
2b94a81c2b
Remove \n from value-strings.
...
svn path=/trunk/; revision=9354
2003-12-19 16:42:27 +00:00
Gilbert Ramirez
1cbfbd022b
Print values for ANY_MATCHES and ANY_CONTAINS so that the dftest
...
executable works properly.
svn path=/trunk/; revision=9353
2003-12-19 04:40:24 +00:00
Guy Harris
e3753d3d58
The GNU ADNS library requires whatever libraries are needed for socket
...
calls.
svn path=/trunk/; revision=9352
2003-12-19 01:36:01 +00:00
Guy Harris
3118e2a0c2
As noted by Peter Fales, the offset in "capture_arcnet()" should be 4 if
...
the extra offset field is present and 2 if it's absent, not the other
way around.
svn path=/trunk/; revision=9351
2003-12-19 01:24:09 +00:00
Guy Harris
95e6fb64c0
Add support for a link-layer type value of 143 as DOCSIS in libpcap
...
captures.
svn path=/trunk/; revision=9350
2003-12-18 23:50:44 +00:00