diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2011-01-03 15:49:46 +0100 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2011-01-19 04:24:23 +0100 |
| commit | 672640e924d5c61ec03919b977d38fa2783ad1c8 (patch) | |
| tree | 2ede71a2055e16d48e0b4df3244b915dbe2b552c /lib | |
| parent | cef34379d94f88859f2cff0f1d854cf84455f99c (diff) | |
| download | enigma2-672640e924d5c61ec03919b977d38fa2783ad1c8.tar.gz enigma2-672640e924d5c61ec03919b977d38fa2783ad1c8.zip | |
picexif: fix buffer overflow
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/gdi/picexif.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gdi/picexif.cpp b/lib/gdi/picexif.cpp index f9e8055f..2daeeffd 100644 --- 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: |
