Patches for check_snmp : avoid core dump [sf#679400] [#75]