Commit Graph

9 Commits

Author SHA1 Message Date
Bill Meier 871c9c7152 ep_strbuf usage: ep_strbuf_new_label("") --> ep_strbuf_new_label(NULL);
ep_strbuf_append() --> ep_strbuf_append_c() in a few cases.

svn path=/trunk/; revision=28052
2009-04-14 18:31:02 +00:00
Gerald Combs c3befe3a37 From Jakub Zawadzki: Fix a logic error.
svn path=/trunk/; revision=28047
2009-04-14 17:52:22 +00:00
Guy Harris 2776974a35 Get rid of val_to_strlen() - strlen() on the results of val_to_str()
suffices (and 100 is an odd choice of failure), and it shouldn't return
a guint8 in any case.

Don't use tvb_length() to determine how big a packet is - you want the
real size, not the possibly-shortened-by-a-snapshot-length size.

Don't make things guint8 if they're not guaranteed to be one byte long.

Use an ep_strbuf in another case.

svn path=/trunk/; revision=27908
2009-03-31 07:10:17 +00:00
Gerald Combs 7247fa0b45 More Win64 fixes.
svn path=/trunk/; revision=27903
2009-03-30 20:52:25 +00:00
Bill Meier d830d2884e #include prefs.h not req'd
svn path=/trunk/; revision=27321
2009-01-28 20:10:12 +00:00
Sake Blok b49434dcd2 From SUZUKI, Shinsuke <suz@kame.net> (bug 2956):
Remove non-ascii characters to prevent compilation failure on
non-european windows.


svn path=/trunk/; revision=26420
2008-10-12 09:38:40 +00:00
Bill Meier a7e61da1b3 Minor cleanup related to proto_register and/or proto_reg_handoff
ep_alloc + memset --> ep_alloc0 (teamspeak2)

svn path=/trunk/; revision=26356
2008-10-05 23:08:54 +00:00
Jeff Morriss 2207e21a91 get_iec104apdu_len(): make the offset variable a guin32 instead of a guint8 so
we can deal with TVB lengths greater than 255.  This fixes the infite loop
reported in:

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2914o

svn path=/trunk/; revision=26310
2008-09-30 16:03:18 +00:00
Anders Broman 46ecae4dd1 From Joan Ramio:
New dissector IEC 60870-5-104.

svn path=/trunk/; revision=26289
2008-09-29 16:49:14 +00:00