Commit c567d0b5 authored by gauthier's avatar gauthier

sprintf buf size +1 for null char terminating string

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5293 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 24fb627b
......@@ -120,7 +120,7 @@ typedef struct {
(imsi)->digit[14]
typedef struct {
uint8_t digit[IMSI_DIGITS_MAX];
uint8_t digit[IMSI_DIGITS_MAX+1]; // +1 for '\0` macro sprintf changed in snprintf
uint8_t length;
} Imsi_t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment