RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1504157 - Fix Covscan detected programming errors
Summary: Fix Covscan detected programming errors
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nftables
Version: 7.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Phil Sutter
QA Contact: Tomas Dolezal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-19 15:01 UTC by Phil Sutter
Modified: 2018-12-06 21:43 UTC (History)
4 users (show)

Fixed In Version: nftables-0.8-9.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 10:38:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
scan results (81.66 KB, text/plain)
2017-10-19 15:01 UTC, Phil Sutter
no flags Details
scan-results.err (81.19 KB, text/plain)
2017-12-14 13:10 UTC, Phil Sutter
no flags Details
scan-results.err (81.19 KB, text/plain)
2017-12-14 14:16 UTC, Phil Sutter
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3154 0 None None None 2018-10-30 10:38:36 UTC

Description Phil Sutter 2017-10-19 15:01:40 UTC
Created attachment 1340813 [details]
scan results

Coverity tool found the following problems in nftables-0.8-4.el7, see attached scan log.

Comment 2 Phil Sutter 2017-12-14 13:10:22 UTC
Created attachment 1367979 [details]
scan-results.err

Comment 3 Phil Sutter 2017-12-14 14:16:05 UTC
Created attachment 1368014 [details]
scan-results.err

Comment 4 Phil Sutter 2018-03-02 10:55:31 UTC
This is the list of commits to backport:

7f31d3191622b Review switch statements for unmarked fall through cases
657472843e7a7 monitor: Make trace events respect output_fp
59034b47590d7 monitor: Make JSON/XML output respect output_fp
f51ed1db70abd cli: Drop pointless check in cli_append_multiline()
3570b6bc8b4f1 erec: Avoid passing negative offset to fseek()
edcf3adcf4c4c evaluate: Fix memleak in stmt_reject_gen_dependency()
5043a1e4847c0 hash: Fix potential null-pointer dereference in hash_expr_cmp()
4342fcbd40534 netlink: Complain if setting O_NONBLOCK fails
671851617c8d8 netlink_delinearize: Fix resource leaks

Comment 10 errata-xmlrpc 2018-10-30 10:38:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3154


Note You need to log in before you can comment on or make changes to this bug.