Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Created attachment 517169[details]
fix for "1"
These errors was revealed by coverity difference scan on packages from rhel6.1/rhel6.2
ERROR LIST:
1) tools/findif.c:547: Missing check for return value of inet_pton call in
ConvertQuadToint function.
2) tools/sfex_init.c: Missing check for write_lockdata return value.
3) heartbeat/IPv6addr.c:434: bad check for socket(3) return value .. returns -1 when error occurred
4) heartbeat/IPv6addr.c:706: missing check for socket(3) return value
5) heartbeat/IPv6addr.c:704: msg.msg_flags is not initialized before recvmsg
6) tools/findif.c:{279|271}: unused value "cp"
7) tools/send_arp.linux.c:360: Missing break?
It would be nice if somebody could look at these defects.
Pavel
Comment 13RHEL Program Management
2012-07-10 08:45:34 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
Comment 14RHEL Program Management
2012-07-11 01:48:46 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.
Comment 15Jan Pokorný [poki]
2012-10-04 11:24:43 UTC
Comment 16Jan Pokorný [poki]
2012-10-04 15:19:07 UTC
I think 5) can be safely dropped as msg_flags item of struct msghdr:
- is supposed to be set in recvmsg (RECVMSG(2) is clear,
RECVMSG(3p) seems to allow for both interpretation)
- is not examined upon return from recvmsg
Comment 17Jan Pokorný [poki]
2012-10-04 16:17:33 UTC
Created attachment 517169 [details] fix for "1" These errors was revealed by coverity difference scan on packages from rhel6.1/rhel6.2 ERROR LIST: 1) tools/findif.c:547: Missing check for return value of inet_pton call in ConvertQuadToint function. 2) tools/sfex_init.c: Missing check for write_lockdata return value. 3) heartbeat/IPv6addr.c:434: bad check for socket(3) return value .. returns -1 when error occurred 4) heartbeat/IPv6addr.c:706: missing check for socket(3) return value 5) heartbeat/IPv6addr.c:704: msg.msg_flags is not initialized before recvmsg 6) tools/findif.c:{279|271}: unused value "cp" 7) tools/send_arp.linux.c:360: Missing break? It would be nice if somebody could look at these defects. Pavel