Consolidated maximum length of namespace names. Coverity CID 12590.

This commit is contained in:
Thomas Schmitt 2015-10-08 22:40:37 +02:00
parent 06ea46c8d5
commit 3a870d23e3

View File

@ -62,12 +62,12 @@
#define Aaip_namespace_trusteD 0x05
#define Aaip_namespace_securitY 0x06
static char Aaip_namespace_textS[][16]= {"", "", "system.", "user.", "isofs.",
"trusted.", "security."};
/* maximum expansion: "security." */
#define Aaip_max_name_expansioN 9
static char Aaip_namespace_textS[][Aaip_max_name_expansioN + 1]=
{"", "", "system.", "user.", "isofs.", "trusted.", "security."};
/* --------------------------------- Encoder ---------------------------- */