~ubuntu-branches/ubuntu/hardy/libexif/hardy

« back to all changes in this revision

Viewing changes to libexif/canon/exif-mnote-data-canon.h

  • Committer: Bazaar Package Importer
  • Author(s): Nico Golde
  • Date: 2007-12-21 17:13:58 UTC
  • mfrom: (5.1.5 hardy)
  • Revision ID: james.westby@ubuntu.com-20071221171358-zbjzk21kmnizelhk
Tags: 0.6.16-2.1
* Non-maintainer upload by security team.
* This update addresses the following security issues:
  - possible denial of service attack via crafted
    image file leading to an infinite recursion in the
    exif-loader.c (CVE-2007-6351; Closes: #457330).
  - integer overflow in exif-data.c triggered by a crafted
    image file could lead to arbitrary code execution
    (CVE-2007-6352; Closes: #457330).

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <libexif/exif-mnote-data.h>
26
26
#include <libexif/exif-mnote-data-priv.h>
27
27
#include <libexif/exif-mem.h>
 
28
#include <libexif/exif-data.h>
28
29
 
29
30
typedef struct _ExifMnoteDataCanon ExifMnoteDataCanon;
30
31
 
38
39
 
39
40
        ExifByteOrder order;
40
41
        unsigned int offset;
 
42
 
 
43
        ExifDataOption options;
41
44
};
42
45
 
43
 
ExifMnoteData *exif_mnote_data_canon_new (ExifMem *mem);
 
46
ExifMnoteData *exif_mnote_data_canon_new (ExifMem *mem, ExifDataOption o);
44
47
 
45
48
#endif /* __EXIF_MNOTE_DATA_CANON_H__ */