Skip to content

ublox_tinygps_ntp_server_pico - dealing with malformed udp #19

Description

@ianburton20

Thanks for the ublox_tinygps_ntp_server_pico. Made tiny mods to run on ESP8266. Would run for 40-60 mins then crash having received a udp packet from 71.69.84.31 of packet size 18516. Couldn't fathom how this was getting on my LAN. Don't accept anything incoming. Possible corruption in udp stack? Minor mod to your code to only process udp packets if ((packetSize > 40) && (packetSize < UDP_TX_PACKET_MAX_SIZE)). Trust of interest.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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