nohal/OpenCPN — pull request #2 by rolker (2012-10-16 17:35:41+00:00)
Title: Made NMEA extraction from TCP stream more robust.

Added check to trim socket data buffer to prevent potential runaway memory allocation when junk is recieved instead of NMEA strings.