Bug 680465 - cmsfs-fuse: fix read and write errors in text mode
Summary: cmsfs-fuse: fix read and write errors in text mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: s390utils
Version: 6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Dan Horák
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-25 16:40 UTC by Joseph Kachuck
Modified: 2018-11-14 14:16 UTC (History)
3 users (show)

Fixed In Version: s390utils-1.8.2-32.el6.src.rpm
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 13:32:52 UTC
Target Upstream Version:


Attachments (Terms of Use)
s390-tools-rhel6-cmsfs-fuse-text-mode-fixes.patch (4.70 KB, patch)
2011-02-25 16:40 UTC, Joseph Kachuck
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0601 0 normal SHIPPED_LIVE s390utils bug fix and enhancement update 2011-05-19 09:37:30 UTC

Description Joseph Kachuck 2011-02-25 16:40:58 UTC
Created attachment 481031 [details]
s390-tools-rhel6-cmsfs-fuse-text-mode-fixes.patch

s390-tools-rhel6-cmsfs-fuse-text-mode-fixes.patch

Description: cmsfs-fuse: fix read and write errors in text mode.
Symptom: Copying a file in text mode fails with read or write errors.
Problem: Miscalculation of file size in text mode and off-by-one error
in record length check for fixed files.
Solution: Correct the calculation of the file size by using the displacement
value for the last block of a variable file and by limiting
the size of the last record of a fixed file to the actual size.
Additionally scan for the correct length of a fixed record in text
mode.


The patch has been tested, fixes the problem, and will be included in the next
upstream release of the s390-tools.

With best regards,
Hendrik

Comment 4 Chris Ward 2011-04-06 11:09:04 UTC
~~ Partners and Customers ~~

This bug was included in RHEL 6.1 Beta. Please confirm the status of this request as soon as possible.

If you're having problems accessing 6.1 bits, are delayed in your test execution or find in testing that the request was not addressed adequately, please let us know.

Thanks!

Comment 6 IBM Bug Proxy 2011-04-28 13:21:25 UTC
------- Comment From mgrf.com 2011-04-28 09:11 EDT-------
This is verified included in R 6.1 snap3  - closing BZ  Thx

Comment 7 errata-xmlrpc 2011-05-19 13:32:52 UTC
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-2011-0601.html


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