Skip to navigation

Bug Fix Advisory diffutils bug fix update

Advisory: RHBA-2013:0036-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2013-01-07
Last updated on: 2013-01-07
Affected Products: Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)

Details

Updated diffutils packages that fix two bugs are now available for Red Hat
Enterprise Linux 5.

The diffutils package contains utilities for comparing text files. These
utilities include diff, cmp, diff3, and sdiff.

This update fixes the following bugs:

* Prior to this update, the "-E" option of the sdiff command was not accepted
and returned the following error message:

sdiff: invalid option -- E
sdiff: Try `sdiff --help' for more information.

This was because the "-E" option was accidentally omitted from the list of
accepted options. This update fixes this bug, and the "-E" option works as
expected. (BZ#484892)

* When using the cmp command's "-s" option to compare files, incorrect results
were returned for special files whose metadata is not accurate, for example
files in the proc file system. This update fixes this bug by always reading the
content of files whose length is reported as zero bytes. (BZ#563618)

All users of diffutils are advised to upgrade to these updated packages, which
fix these bugs.


Solution

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258

Updated packages

Red Hat Enterprise Linux (v. 5 server)

SRPMS:
diffutils-2.8.1-16.el5.src.rpm     MD5: 3a83026cdbce1b2156fc0d46775b3821
SHA-256: a22bd6aad7b8523ede51310ee7deee7c151303010a3b02d3bc08650d2d79d98b
 
IA-32:
diffutils-2.8.1-16.el5.i386.rpm     MD5: a47e5ba24d62396d5cfb25534d72254d
SHA-256: d1d2285d73edb0e71eb1dd366cfaaa289fb6532ee35df27a018d443945a98e36
diffutils-debuginfo-2.8.1-16.el5.i386.rpm     MD5: caa9c01e7614e0d0355b50b03ecf2976
SHA-256: 6e29fcfa88c96197d3d3057c35ec749111acee0ba9eb57d75b41cfb13d4a7b2b
 
IA-64:
diffutils-2.8.1-16.el5.ia64.rpm     MD5: fd6e3e6bab26fd3ee7bb0913208446f5
SHA-256: 4bced75b5ff53db9930b7030b81e41359bea9d83ad3becff98c01c26bf9bd2e2
diffutils-debuginfo-2.8.1-16.el5.ia64.rpm     MD5: 0ae93b4cabe3c06053dc0ca98b2e122e
SHA-256: a34c9192351c253dde5f4b878ae5527c49a79b6ee9fc7967d29f7f13ee0fdea4
 
PPC:
diffutils-2.8.1-16.el5.ppc.rpm     MD5: 140132075f70cc4ccca84377a5c2d5d5
SHA-256: f536c241274f4b38e03cc1e41283a7f1a037f418a5ea32c4eb8cf84c53542de0
diffutils-debuginfo-2.8.1-16.el5.ppc.rpm     MD5: f053cd6c14498912584c0ca67b11a645
SHA-256: 5f662f07be29e3707dda44bc7b00086df3d10f52f7c697c20bee7a2184c39d4f
 
s390x:
diffutils-2.8.1-16.el5.s390x.rpm     MD5: da44d8893eefc8f788ae15d92ec97d3e
SHA-256: b45edcffddc9e9393c2fe6e40491b2e6b21f8b8b71ebe351dea8a75379d18eb4
diffutils-debuginfo-2.8.1-16.el5.s390x.rpm     MD5: ef58665bec8e21225a74eec39d0b624e
SHA-256: 25e9709a16d395245097d3ea6737e277996b93918aac6e5508390e47a47b7a7f
 
x86_64:
diffutils-2.8.1-16.el5.x86_64.rpm     MD5: 39870c4105f611c2b2ff41767fd1a424
SHA-256: 56899e6fcfde9c0bbdcb9962ff9d261b729538e98e6e188b484ee4a8ab971539
diffutils-debuginfo-2.8.1-16.el5.x86_64.rpm     MD5: b9e4c5eef1c2ac2afbf62160e60a75fe
SHA-256: d776df0d068134c054a9ea437bfcf5f2d20cc6d9fc9347b2832e214c33e55c0c
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
diffutils-2.8.1-16.el5.src.rpm     MD5: 3a83026cdbce1b2156fc0d46775b3821
SHA-256: a22bd6aad7b8523ede51310ee7deee7c151303010a3b02d3bc08650d2d79d98b
 
IA-32:
diffutils-2.8.1-16.el5.i386.rpm     MD5: a47e5ba24d62396d5cfb25534d72254d
SHA-256: d1d2285d73edb0e71eb1dd366cfaaa289fb6532ee35df27a018d443945a98e36
diffutils-debuginfo-2.8.1-16.el5.i386.rpm     MD5: caa9c01e7614e0d0355b50b03ecf2976
SHA-256: 6e29fcfa88c96197d3d3057c35ec749111acee0ba9eb57d75b41cfb13d4a7b2b
 
x86_64:
diffutils-2.8.1-16.el5.x86_64.rpm     MD5: 39870c4105f611c2b2ff41767fd1a424
SHA-256: 56899e6fcfde9c0bbdcb9962ff9d261b729538e98e6e188b484ee4a8ab971539
diffutils-debuginfo-2.8.1-16.el5.x86_64.rpm     MD5: b9e4c5eef1c2ac2afbf62160e60a75fe
SHA-256: d776df0d068134c054a9ea437bfcf5f2d20cc6d9fc9347b2832e214c33e55c0c
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

484892 - sdiff does not recognize -E option
563618 - cmp -s returns 1 even if files are identical



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/