Skip to content

bug: NMEA checksum validation accepts missing checksum #39

@gdellis

Description

@gdellis

Problem

nmea_validate_checksum() in nmea_parser.hpp:80-82 returns true when * (checksum delimiter) is not found. This means NMEA sentences without checksums are accepted as valid, which is risky for safety-critical GPS data.

Location

  • firmware/main/nmea_parser.hpp:80-82

Severity

HIGH - Invalid/corrupted GPS data could be accepted

Suggested Fix

Return false when checksum is absent, or log a warning and require checksum to be present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions