diff options
author | Bill Meier <wmeier@newsguy.com> | 2007-11-29 00:01:09 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2007-11-29 00:01:09 +0000 |
commit | b69928928feb2764b9bfe90e7516c028f39dc50e (patch) | |
tree | b6aa935099627d9acde371670ae7be9fc2236b8d /epan/dissectors/packet-image-jfif.c | |
parent | 70510e21c898c683b0da3fadda547b7403f72d49 (diff) |
From Didier Gautheron: Fix for Bug #1862: JPEG (JFIF) packet always malformed
svn path=/trunk/; revision=23662
Diffstat (limited to 'epan/dissectors/packet-image-jfif.c')
-rw-r--r-- | epan/dissectors/packet-image-jfif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-image-jfif.c b/epan/dissectors/packet-image-jfif.c index 2fbf8fd012..dc3d8d4622 100644 --- a/epan/dissectors/packet-image-jfif.c +++ b/epan/dissectors/packet-image-jfif.c @@ -669,8 +669,8 @@ process_app1_segment(proto_tree *tree, tvbuff_t *tvb, guint32 len, "Skipped data between end of TIFF header and start of IFD (%u bytes)", val_32 + tiff_start - offset); } - offset = val_32 + tiff_start; for (;;) { + offset = val_32 + tiff_start; /* * Process the IFD */ |