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 1162714 - Non blocking mode for writes is broken
Summary: Non blocking mode for writes is broken
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libtirpc
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: JianHong Yin
URL:
Whiteboard:
Depends On: 1162711
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-11 14:22 UTC by Steve Dickson
Modified: 2018-04-25 02:48 UTC (History)
6 users (show)

Fixed In Version: libtirpc-0.2.4-0.5.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1162711
Environment:
Last Closed: 2015-03-05 10:57:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
reproducer (2.42 KB, text/plain)
2014-11-11 14:22 UTC, Steve Dickson
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1163891 0 high CLOSED rpc.mountd can be blocked by a bad client 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2015:0487 0 normal SHIPPED_LIVE libtirpc bug fix update 2015-03-05 15:32:31 UTC

Internal Links: 1163891

Description Steve Dickson 2014-11-11 14:22:39 UTC
Created attachment 956299 [details]
reproducer

+++ This bug was initially created as a clone of Bug #1162711 +++

Description of problem:
commit a4fa582908b9c63957240cb0cb68b59d56244ef5
Author: Bodo Stroesser <bstroesser.com>
Date:   Thu Nov 6 13:26:00 2014 -0500

    write_vc: fix write retry loop for nonblocking mode
    
    This is a simple fix for the write retry loop that is used on
    non-blocking connections if write() failed with -EAGAIN.
    
    Additionally it removes a redundant if () {}
    
    Erroneously at each cycle of the loop the length of the data
    to send is incremented and the buffer pointer is decremented.
    Thus, it might happen that:
    * the application crashes
    * data from the memory before the buffer is sent
    
    Signed-off-by: Bodo Stroesser <bstroesser.com>
    Signed-off-by: Steve Dickson <steved>


Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1.run reproducer

Comment 8 errata-xmlrpc 2015-03-05 10:57:27 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://rhn.redhat.com/errata/RHBA-2015-0487.html


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