Commit Graph

23 Commits

Author SHA1 Message Date
Anders Broman 6c161ff927 Packet-imf.c - Offset must be advanced to AFTER CRLF(CRLF).
packet-multipart.c - imf_find_field_end()'s maxlength is last offset in tvb.

svn path=/trunk/; revision=22476
2007-08-09 12:17:56 +00:00
Martin Mathieson 6bbe9bd5d6 Avoid an infinite loop (on malformed packet)
svn path=/trunk/; revision=22333
2007-07-17 11:54:22 +00:00
Graeme Lunt 4d0f66a26f Further problem highlighted by OSX.
svn path=/trunk/; revision=22314
2007-07-14 10:15:52 +00:00
Graeme Lunt d23237ab38 Fix for warnings on OSX.
svn path=/trunk/; revision=22313
2007-07-14 09:58:08 +00:00
Graeme Lunt 7b1032f9b0 Optional removal of any base64 content-transfer-encoding from a MIME
body before passing it to a sub-dissector. The decoded content is added 
as a new source, named with the filename or the content-type.


svn path=/trunk/; revision=22311
2007-07-14 09:19:35 +00:00
Graeme Lunt 2d671eadbd Consistent eol-style restored.
svn path=/trunk/; revision=22248
2007-07-05 16:31:12 +00:00
Graeme Lunt ce458040ac Allow for leading whitespace in parameters when looking for the boundary.
svn path=/trunk/; revision=22246
2007-07-05 16:19:36 +00:00
Martin Mathieson 8aa44209fa Make multipart part a proper field, and append contained content-type to
it label to make it easier to find the part you're looking for.

svn path=/trunk/; revision=19909
2006-11-16 14:35:52 +00:00
Ulf Lamping 0c23562511 fix #1135: another "off by one" bug, zero termination was done twice, second time writing behind the end of the available buffer
svn path=/trunk/; revision=19566
2006-10-16 23:13:21 +00:00
Martin Mathieson 0852c89fd1 - Mark the multipart type as a generated field.
- Remove the RFC 3261 attribution in the long text version of several headers (some of them I couldn't easily work out where the first non-obsoleted introduction of them is)

svn path=/trunk/; revision=19328
2006-09-26 13:01:27 +00:00
Martin Mathieson 6de1b28bb8 Add Content-Id and Content-Transfer-Encoding headers, as described in RFC 2045/6
svn path=/trunk/; revision=19264
2006-09-20 12:12:18 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Anders Broman fba662fa2a Add a missing include
svn path=/trunk/; revision=15686
2005-09-05 16:30:31 +00:00
Tomas Kukosa 44b2d9d828 buffer where parameters variable pointed into was freed
it is necessary to make a copy

svn path=/trunk/; revision=15684
2005-09-05 13:20:56 +00:00
Tomas Kukosa 4887fe9bf1 - set length for "Encapsulated multipart part" tree item
- pass right content type to media subdissectors

svn path=/trunk/; revision=15683
2005-09-05 11:59:22 +00:00
Ronnie Sahlberg ec3ab9ec3e rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the documentation in README.developer
svn path=/trunk/; revision=15270
2005-08-10 13:41:13 +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 eab0aeb4bb More char -> const char fixes
Declare some functions static

svn path=/trunk/; revision=15158
2005-07-30 16:34:38 +00:00
Ronnie Sahlberg df2d1d3f22 ememify some more calls to tvb_get_string()
this fixes an obvious memleak in ms-mms


svn path=/trunk/; revision=15132
2005-07-28 09:56:19 +00:00
Guy Harris 2b7ca484ac From Ruud Linders: support short names in multipart headers; SIP-T
requires this.

svn path=/trunk/; revision=13127
2005-01-20 01:26:34 +00:00
Guy Harris 652b22c0b9 From Chris Maynard: free mallocated data.
Don't assign the result of a routine that mallocates data to a const
pointer - that forces us to cast the pointer when freeing the data.

svn path=/trunk/; revision=12960
2005-01-05 10:38:50 +00:00
Guy Harris bbe7f89742 Move prefs.c and prefs.h into the epan subdirectory.
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +00:00
Gilbert Ramirez 669db206cb Move dissectors to epan/dissectors directory.
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.

Adjust #include lines in files that include packet-*.h
files.

svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00