Change-Id: If1e8752fbf0cd1b4d3621c8212eda142dd613e0f
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
typedef struct {
int r_id;
typedef struct {
int r_id;
- char name[512];
- char cid[1024];
+ char name[512 + 1];
+ char cid[1024 + 1];
char time[64];// enough size
#ifdef DTAPPS_STORE_CEK_IN_DB
char time[64];// enough size
#ifdef DTAPPS_STORE_CEK_IN_DB
- char cek[128];
- char cek_hash[64];
+ char cek[128 + 1];
+ char cek_hash[64 + 1];
- char constraint_buffer[512];
- char constraint_hash[64];
+ char constraint_buffer[512 + 1];
+ char constraint_hash[64 + 1];
} DTAPPS_RIGHTS_ROW;
int DTappsValidateConstraints(DTAPPS_CONSTRAINTS *st_const,
} DTAPPS_RIGHTS_ROW;
int DTappsValidateConstraints(DTAPPS_CONSTRAINTS *st_const,