FreeBSD Bugzilla – Attachment 79633 Details for
Bug 114367
Fix crash on JPEG metadata exceptions in graphics/Gwenview
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gwenview.diff
gwenview.diff (text/plain), 1.32 KB, created by
Michael Nottebrock
on 2007-07-06 20:30:04 UTC
(
hide
)
Description:
gwenview.diff
Filename:
MIME Type:
Creator:
Michael Nottebrock
Created:
2007-07-06 20:30:04 UTC
Size:
1.32 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/graphics/gwenview/Makefile,v >retrieving revision 1.23 >diff -u -r1.23 Makefile >--- Makefile 19 May 2007 20:09:29 -0000 1.23 >+++ Makefile 6 Jul 2007 16:55:55 -0000 >@@ -7,7 +7,7 @@ > > PORTNAME= gwenview > PORTVERSION= 1.4.1 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= graphics kde > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >Index: files/patch-src-imageutils-jpegcontent.cpp >=================================================================== >RCS file: files/patch-src-imageutils-jpegcontent.cpp >diff -N files/patch-src-imageutils-jpegcontent.cpp >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-src-imageutils-jpegcontent.cpp 6 Jul 2007 16:55:55 -0000 >@@ -0,0 +1,15 @@ >+--- src/imageutils/jpegcontent.cpp.orig Fri Jul 6 18:37:46 2007 >++++ src/imageutils/jpegcontent.cpp Fri Jul 6 18:38:24 2007 >+@@ -255,11 +255,11 @@ >+ Exiv2::Image::AutoPtr image; >+ try { >+ image = Exiv2::ImageFactory::open((unsigned char*)data.data(), data.size()); >++ image->readMetadata(); >+ } catch (Exiv2::Error&) { >+ kdError() << "Could not load image with Exiv2\n"; >+ return false; >+ } >+- image->readMetadata(); >+ >+ d->mExifData = image->exifData(); >+ d->mComment = QString::fromUtf8( image->comment().c_str() );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 114367
: 79633