git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cef3437
)
picexif: fix buffer overflow
author
Andreas Oberritter
<obi@opendreambox.org>
Mon, 3 Jan 2011 14:49:46 +0000
(15:49 +0100)
committer
Andreas Oberritter
<obi@opendreambox.org>
Wed, 19 Jan 2011 03:24:23 +0000
(
04:24
+0100)
lib/gdi/picexif.cpp
patch
|
blob
|
history
diff --git
a/lib/gdi/picexif.cpp
b/lib/gdi/picexif.cpp
index f9e8055f8c02cf7b42ca560449f5adb531fd1370..2daeeffd862d8b7994715c7e572463a727b470d8 100644
(file)
--- a/
lib/gdi/picexif.cpp
+++ b/
lib/gdi/picexif.cpp
@@
-428,7
+428,7
@@
bool Cexif::ProcessExifDir(unsigned char * DirStart, unsigned char * OffsetBase,
case 6: strcpy(m_exifinfo->Orientation,"Right-Top"); break;
case 7: strcpy(m_exifinfo->Orientation,"Right-Bottom"); break;
case 8: strcpy(m_exifinfo->Orientation,"Left-Bottom"); break;
- default: strcpy(m_exifinfo->Orientation,"Undefined
rotation value")
;
+ default: strcpy(m_exifinfo->Orientation,"Undefined
"); break
;
}
break;
case TAG_EXIF_IMAGELENGTH: