aprs: NULL-terminate a string.

CID: 1495842
This commit is contained in:
Dario Lombardo 2022-04-19 22:11:17 +02:00 committed by Gerald Combs
parent 6c3e4c7304
commit 33dca395b1
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ dissect_mic_e( tvbuff_t *tvb,
int new_offset;
int data_len;
char *info_buffer;
char latitude[7] = { '?', '?', '?', '?', '.', '?', '?' };
char latitude[8] = { '?', '?', '?', '?', '.', '?', '?', 0x0 };
int msg_a;
int msg_b;
int msg_c;