diff options
author | Hubert Figuière <hub@figuiere.net> | 2017-03-26 01:10:11 -0400 |
---|---|---|
committer | Hubert Figuière <hub@figuiere.net> | 2017-03-26 01:10:11 -0400 |
commit | c26d5beb60a5a85f76259f50ed3e08c8169b0a0c (patch) | |
tree | cd28fed64fb68de415c8b4b9b0b604f46595f6b1 /exempi/exempi.cpp | |
parent | 6f0104309b9daed4a51a07e593bcfdc529fdb5a4 (diff) |
Bug 100397 - Fix crash on malformed JPEG file
- Check the buffer doesn't overrun for the TIFF tag
- Fix a use-after-free in exception handling
- Fix two invalid memcpy() on overlapping memory
Diffstat (limited to 'exempi/exempi.cpp')
-rw-r--r-- | exempi/exempi.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/exempi/exempi.cpp b/exempi/exempi.cpp index 6857df9..584aaf1 100644 --- a/exempi/exempi.cpp +++ b/exempi/exempi.cpp @@ -195,10 +195,8 @@ bool xmp_init() RESET_ERROR; try { // no need to initialize anything else. - // XMP SDK 5.1.2 needs this because it has been lobotomized of local - // text - // conversion - // the one that was done in Exempi with libiconv. + // XMP SDK 5.1.2 needs this because it has been stripped off local + // text conversion the one that was done in Exempi with libiconv. bool result = SXMPFiles::Initialize(kXMPFiles_IgnoreLocalText); SXMPMeta::SetDefaultErrorCallback(&_xmp_error_callback, nullptr, 1); return result; |