- Issued:
- 2009-02-11
- Updated:
- 2009-09-02
RHBA-2009:0276 - Bug Fix Advisory
Synopsis
dos2unix bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated dos2unix packages that resolve two bugs are now available.
Description
The dos2unix utility converts DOS or MAC format text files to UNIX
format.
This updated package provides fixes for the following bugs:
- dos2unix did not allow for instances where a user specified the -c
option without a conversion mode name following it. An input in this format
would therefore result in a segmentation fault. Dos2unix now exits safely
with a message to the user that option -c requires an argument.
- when dos2unix created a new file as the output of its conversion (when
run with the -n option), the new file would always have its permission mode
set as 600, regardless of the permission mode of the original file.
Dos2unix now sets the permission mode for the new file to be the same as
the mode of the old file, filtered through the user's umask.
Users of dos2unix should upgrade to this updated package, which resolves
these issues.
Solution
Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.
This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259
Affected Products
- Red Hat Enterprise Linux Server 5 x86_64
- Red Hat Enterprise Linux Server 5 ia64
- Red Hat Enterprise Linux Server 5 i386
- Red Hat Enterprise Linux Workstation 5 x86_64
- Red Hat Enterprise Linux Workstation 5 i386
- Red Hat Enterprise Linux Desktop 5 x86_64
- Red Hat Enterprise Linux Desktop 5 i386
- Red Hat Enterprise Linux for IBM z Systems 5 s390x
- Red Hat Enterprise Linux for Power, big endian 5 ppc
- Red Hat Enterprise Linux Server from RHUI 5 x86_64
- Red Hat Enterprise Linux Server from RHUI 5 i386
Fixes
- BZ - 429231 - "dos2unix -c" results in segmentation fault
- BZ - 437465 - "dos2unix -n" creates files with overly restrictive permissions
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
dos2unix-3.1-27.2.el5.src.rpm | SHA-256: a8e135c5d151414c28613c073bb163c4d40df203ffe3399b299faae2ef3fd40d |
x86_64 | |
dos2unix-3.1-27.2.el5.x86_64.rpm | SHA-256: 36aa8b5ec6d7cc644f48fac7e077e6b964b45794b654adbc09e4379139350c78 |
ia64 | |
dos2unix-3.1-27.2.el5.ia64.rpm | SHA-256: 8ffb4b9fa1960515c6c7f046c6c6a425b6be2d92371b1cf0a2ffbc3789c6cc1a |
i386 | |
dos2unix-3.1-27.2.el5.i386.rpm | SHA-256: 52a30423645ccd6c5206f763ad0ae6343c3a6ac17db6263dcdd894c9c1fafc59 |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
dos2unix-3.1-27.2.el5.src.rpm | SHA-256: a8e135c5d151414c28613c073bb163c4d40df203ffe3399b299faae2ef3fd40d |
x86_64 | |
dos2unix-3.1-27.2.el5.x86_64.rpm | SHA-256: 36aa8b5ec6d7cc644f48fac7e077e6b964b45794b654adbc09e4379139350c78 |
i386 | |
dos2unix-3.1-27.2.el5.i386.rpm | SHA-256: 52a30423645ccd6c5206f763ad0ae6343c3a6ac17db6263dcdd894c9c1fafc59 |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
dos2unix-3.1-27.2.el5.src.rpm | SHA-256: a8e135c5d151414c28613c073bb163c4d40df203ffe3399b299faae2ef3fd40d |
x86_64 | |
dos2unix-3.1-27.2.el5.x86_64.rpm | SHA-256: 36aa8b5ec6d7cc644f48fac7e077e6b964b45794b654adbc09e4379139350c78 |
i386 | |
dos2unix-3.1-27.2.el5.i386.rpm | SHA-256: 52a30423645ccd6c5206f763ad0ae6343c3a6ac17db6263dcdd894c9c1fafc59 |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
dos2unix-3.1-27.2.el5.src.rpm | SHA-256: a8e135c5d151414c28613c073bb163c4d40df203ffe3399b299faae2ef3fd40d |
s390x | |
dos2unix-3.1-27.2.el5.s390x.rpm | SHA-256: 34a8891aaf40cc0b0d58ec8a5f4bb8376c547026970250d58dae993eb1d0eb28 |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
dos2unix-3.1-27.2.el5.src.rpm | SHA-256: a8e135c5d151414c28613c073bb163c4d40df203ffe3399b299faae2ef3fd40d |
ppc | |
dos2unix-3.1-27.2.el5.ppc.rpm | SHA-256: 46d1e457b93f4c3c28c45c8d4cce1322d8684e8bc1b3118bf0370baac100c20e |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
dos2unix-3.1-27.2.el5.src.rpm | SHA-256: a8e135c5d151414c28613c073bb163c4d40df203ffe3399b299faae2ef3fd40d |
x86_64 | |
dos2unix-3.1-27.2.el5.x86_64.rpm | SHA-256: 36aa8b5ec6d7cc644f48fac7e077e6b964b45794b654adbc09e4379139350c78 |
i386 | |
dos2unix-3.1-27.2.el5.i386.rpm | SHA-256: 52a30423645ccd6c5206f763ad0ae6343c3a6ac17db6263dcdd894c9c1fafc59 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.