Bug 474381
Summary: | iptstate -s -S <source> -D <dest> segfaults | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Peter Bieringer <pb> |
Component: | iptstate | Assignee: | Thomas Woerner <twoerner> |
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE <qe-baseos-auto> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 5.2 | CC: | dkovalsk, mcermak, pknirsch, wtogami |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-12-16 09:25:35 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
Peter Bieringer
2008-12-03 16:01:58 UTC
Seems as if -s isn't correctly checked for a valid ip-address. Proposing for RHEL-5.4 and granting Devel ACK. Thanks & regards, Phil "-s" (non-capital) means single shot, I'm using this as input for special parsing of the state table (easier than /proc/net/nf_conntrack) Without "-s", -S and -D works fine, looks like a test case is missing... Ah yes, was looking at the wrong manpage, sorry. A quick check revealed that iptstate seems to be still using ncurses output functions for the single shot run, but i suspect it isn't initializing the ncurses environment properly. Should still be an easy fix. Thanks & regards, Phil Note, using "-s" without "-D" or "-S" will not segfault... This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?". In single-run mode curses is not used, but one function call is printw instead of printf, which is used for formatted output in a curses window. This leads to the problem. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1676.html |