eet: Fix possible buffer overflow in functions relying on EET_T_LAST.

Issue reported by Klocwork. Backport, ChangeLog, NEWS included

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 80767
This commit is contained in:
Daniel Willmann 2012-12-12 14:49:49 +00:00 committed by Daniel Willmann
parent 5e76bb821f
commit e9bd0b7a27
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-12-12 Daniel Willmann
* Fix possible buffer overflow in functions relying on EET_T_LAST.
2012-12-12 Cedric Bail
* Add ellipsis support in Evas_Object_Text.

1
NEWS
View File

@ -76,3 +76,4 @@ Fixes:
* Fixed polygon rendering bug in GL backend when there are cutouts.
* Fix leak in eet_pbkdf2_sha1 with OpenSSL.
* Fix the gl line incorrect position drawing.
* Fix possible buffer overflow in functions relying on EET_T_LAST

View File

@ -2401,7 +2401,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 */