Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove setting of null character in message string (Fix for #405 and #406) #407

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/decode_aprs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1788,7 +1788,6 @@ static void aprs_message (decode_aprs_t *A, unsigned char *info, int ilen, int q
// Look for message number.
char *pno = strchr(p->message, '{');
if (pno != NULL) {
*pno = '\0';
int mlen = strlen(pno+1);
if (mlen < 1 || mlen > 5) {
text_color_set(DW_COLOR_ERROR);
Expand Down