The code wasn't actually vulnerable; GCC couldn't check whenever it was. I've fixed this in both master and maint-1.4.15. The fix is so trivial it can be safely applied to any version of the Nagios-Plugins too.
See commit entitled "Make GCC happy" here:
http://nagiosplug.git.sourceforge.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=summary
The code wasn't actually vulnerable; GCC couldn't check whenever it was. I've fixed this in both master and maint-1.4.15. The fix is so trivial it can be safely applied to any version of the Nagios-Plugins too.
See commit entitled "Make GCC happy" here:
http:// nagiosplug. git.sourceforge .net/git/ gitweb. cgi?p=nagiosplu g/nagiosplug; a=summary