RHBA-2012:0955

Type: Bug fix
Severity: None
Published: 2012-06-20
Red Hat Enterprise Linux 6

Sed is a stream or batch non-interactive editor. It takes text as input, performs an operation or set of operations on the text, and outputs the modified text. This update fixes the following bugs: * When the "--copy" option was used with the sed utility, sed created a back-up copy of the original file. However, the back-up file was not deleted after a successful operation. A patch has been provided to address this bug and back-up files are now properly deleted in the described scenario. (BZ#709956) * Previously, the sed test suite was setting locale for UTF-8 variants incorrectly. Consequently, operation of the rpmbuild utility could fail, among other issues. This bug has been fixed and the test suite now sets the locale correctly. (BZ#724962) * A static analysis tool discovered several minor file I/O resource leaks, which occurred when sed encountered an error. This bug has been fixed and the leaks no longer occur. (BZ#812316) All users of sed are advised to upgrade to these updated packages, which fix these bugs.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T22:48:10.777Z UTC

Official vendor advisory

Red Hat Enterprise Linux 6

View source
Observed 2026-11-27T22:48:10.777Z UTC. Last updated 2026-10-07T04:42:23.179Z UTC.

Upstream Advisory

Affected Packages

  • sed 4.2.1-10.el6

Interested in being alerted when there are new versions of sed? Set up an alert.
RHBA-2012:0955: sed bug fix update | Package Alert