nmea.c: Add null byte to nmea fields
authorAlexander Couzens <lynxis@fe80.eu>
Fri, 29 Jun 2018 21:19:11 +0000 (23:19 +0200)
committerJohn Crispin <john@phrozen.org>
Thu, 12 Jul 2018 07:59:06 +0000 (09:59 +0200)
commitccabdf6c235f1e05b2eaf7a418f7e8450652f381
treed7e143ec250c7362354dbd341bd586a44d597494
parentcdc1478a8133bec40cdf2daf05640c22e6126aa0
nmea.c: Add null byte to nmea fields

Either the main.c treat them as non-null terminated strings or
nmea adds a null byte to the fields.

Found-by: Coverity
Fixes CID 1431321 1431098
nmea.c
nmea.h