eet: Fix possible buffer overflow in functions relying on EET_T_LAST.
authorasdfuser <asdfuser@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 12 Dec 2012 14:49:49 +0000 (14:49 +0000)
committerasdfuser <asdfuser@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 12 Dec 2012 14:49:49 +0000 (14:49 +0000)
Issue reported by Klocwork. Backport, ChangeLog, NEWS included

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/branches/eet-1.7@80767 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
NEWS
src/lib/Eet.h

index 00a33fc..e7febff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 2012-12-11  Cedric Bail
 
        * Fix leak eet_pbkdf2_sha1 with OpenSSL.
+
+2012-12-12  Daniel Willmann
+
+       * Fix possible buffer overflow in functions relying on EET_T_LAST.
diff --git a/NEWS b/NEWS
index 96c4d84..38379f8 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ Changes since Eet 1.7.3:
 
 Fixes:
     * Fix memory leak when using OpenSSL for ciphering long data.
+    * Fix possible buffer overflow in functions relying on EET_T_LAST
 
 Eet 1.7.3
 
index a60f562..eaafe3c 100644 (file)
@@ -2366,7 +2366,7 @@ eet_identity_certificate_print(const unsigned char *certificate,
 #define EET_T_F32P32         14 /**< Data type: fixed point 32.32 */
 #define EET_T_F16P16         15 /**< Data type: fixed point 16.16 */
 #define EET_T_F8P24          16 /**< Data type: fixed point 8.24 */
-#define EET_T_LAST           18 /**< Last data type */
+#define EET_T_LAST           17 /**< Last data type */
 
 #define EET_G_UNKNOWN        100 /**< Unknown group data encoding type */
 #define EET_G_ARRAY          101 /**< Fixed size array group type */