Bug 432342
Summary: | snmp_parse_args broken for -c option | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sumit Pandya <sumit> |
Component: | net-snmp | Assignee: | Jan Safranek <jsafrane> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 7 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-02-11 15:21:52 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Sumit Pandya
2008-02-11 13:58:51 UTC
snmp library tries to modify the argv[] strings. You used string literals, which are in read-only memory, but snmp_parse_args tries to modify them -> crash. You should strdup() the literals before passing them to snmp_parse_args. |