OpenCPN/OpenCPN — pull request #222 by nohal (2014-12-12 19:37:38+00:00)
Title: Fixes for some problems discovered by code analysis

Most of them are theoretical and/or unlikely to happen, but should not hurt to get them fixed.