aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-image-jfif.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-09- Replace jpeg_jfif decoder, with more generic mime_file (no more 64KB limit!).darkjames1-0/+1
- Add new dissector packet-mime-encap which understands mime_file fragmentation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37636 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-23From Micheal Mann via bug 2794: Fix some display filter field names.cmaynard1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37351 f5534014-38df-0310-8fa8-9805f1628bb7
2011-03-24From Dirk: fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2930 :morriss1-56/+28
Make the image (png, gif, jfif) dissectors "new style" so that they don't dissect data that does not belong to them. Modify the HTTP dissector to call heuristic dissectors on the body if the registered subdissector does not accept/dissect the data. From me: don't use assert() and don't add a preference to the HTTP dissector for this behavior: it makes sense to behave like that by default. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36305 f5534014-38df-0310-8fa8-9805f1628bb7
2011-03-22From Dirk via bug #5771: Add heuristic dissector for images and HTTP sfisher1-2/+17
Also add to AUTHORS file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36253 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-20Rename the routines that handle dissector tables with unsigned integerguy1-1/+1
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35224 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-17From Marton Nemeth:stig1-0/+2
Add the ability to open JPEG/JFIF files directly. From me: Some code cleanup + add new file to cmake. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30588 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-47/+14
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7
2008-09-30Minor proto_reg_handoff cleanup: use find_dissector when appropriate.wmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26308 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-06From Peter Kjellerstedt (bug 2521):stig1-0/+1
Add MARKER_COM to vals_marker[]. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25246 f5534014-38df-0310-8fa8-9805f1628bb7
2007-11-29From Didier Gautheron: Fix for Bug #1862: JPEG (JFIF) packet always malformedwmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23662 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-28Remove almost all of the casts I committed recently and in place ofsfisher1-3/+3
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21253 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-27Fix about 100 simple to fix warnings from gcc 4.0 in epan/dissectors sfisher1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21233 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21change a whole bunch of ethereal into wiresharksahlberg1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18196 f5534014-38df-0310-8fa8-9805f1628bb7
2005-11-01Use g_print() instead of fprintf() to write messages to the debug console.obiot1-3/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16373 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10tvb_get_stringz() to tvb_get_ephemeral_stringz() conversion.sahlberg1-11/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15275 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-08various code cleanup:ulfl1-4/+0
-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15264 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-26Get rid of the private "my_match_strval()" routine in many dissectors;guy1-1/+1
add a "match_strval_idx()" routine that does the same thing, and have "match_strval()" call it. Make those routines, and "val_to_str()", return a "const" pointer. Update dissectors as necessary to squelch compiler warnings produced by that. Use "val_to_str()" rather than using "match_strval()" and then, if the result is null, substituting a specific string. Clean up some other "match_strval()"/"val_to_str()" usages. Add a null pointer check in the NDPS dissector's "attribute_value()" routine, as it's not clear that "global_attribute_name" won't be null at that point. Make some global variables in the AFS4INT dissector local. Make some routines not used outside the module they're in static. Make some tables "static const". Clean up white space. Fix Gerald's address in some files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14786 f5534014-38df-0310-8fa8-9805f1628bb7
2005-01-05Free the image type string as soon as we're done with it, so that weguy1-1/+8
don't leak it (even if we throw an exception processing the image). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12955 f5534014-38df-0310-8fa8-9805f1628bb7
2004-12-20Use "plurality()" rather than locally-defined "PLURALIZE()" macros, andguy1-2/+0
get rid of the definition of "PLURALIZE()" in modules that don't use it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12791 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-30Squelch some compile warnings.guy1-3/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12443 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-28The offset to the first IFD in a TIFF file is 4 bytes long, not 2 bytesguy1-55/+84
long. The offset is relative to the first byte of the TIFF structure, which is after the "Exif\0" *and* the extra byte after "Exif\0". Loop over all IFDs. Sanity check the offset to the first IFD and the offset in each IFD to the next IFD. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12424 f5534014-38df-0310-8fa8-9805f1628bb7
2004-09-23From Jelmer Vernooij: fix a comment.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12071 f5534014-38df-0310-8fa8-9805f1628bb7
2004-09-01Get rid of some unused variables.guy1-2/+4
Put into the protocol tree for APP1 and APP2 segments not otherwise handled an item for the remaining segment data. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11870 f5534014-38df-0310-8fa8-9805f1628bb7
2004-07-18Move dissectors to epan/dissectors directory.gram1-0/+1198
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11410 f5534014-38df-0310-8fa8-9805f1628bb7