#1034203 snmp: specifying -Op /at all/ segfaults all snmpcmd(1) commands

Package:
snmp
Source:
snmp
Description:
SNMP (Simple Network Management Protocol) applications
Submitter:
наб
Date:
2023-04-11 12:27:03 UTC
Severity:
normal
#1034203#5
Date:
2023-04-11 01:45:03 UTC
From:
To:
Dear Maintainer,

Originally ran into
  $ snmptranslate -Op TAURON-G13-MIB::tauronG13
  Segmentation fault
this morning by accident.

This happens in all these configurations:
  $ snmptranslate -Op .1
  Segmentation fault
  $ snmptranslate -Op
  Segmentation fault
  $ snmpget -Op
  Segmentation fault
&c.

Best,
наб

#1034203#10
Date:
2023-04-11 12:13:13 UTC
From:
To:
Hi наб,
  Thanks for the report. I have passed this to upstream at
https://github.com/net-snmp/net-snmp/issues/554
The programs all use the same parser so it's not surprising they all have
this issue. The additional issue for snmptranslate
might be something extra.

It happens with the upstream pre2 release of 5.9.4 as well so it's not
Debian-specific unless it's my build options.

 - Craig