Fuzzing with libFuzzer shows that the following multiplication can lead to undefined behavior:
UndefinedBehavior Sanitizer warning:
minmea.c:186:39: runtime error: signed integer overflow: 1000000000 * 10 cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior minmea.c:186:39 in
Example input:
$y$GGA,,.0651205658