- Issued:
- 2009-06-22
- Updated:
- 2009-09-02
RHBA-2009:1117 - Bug Fix Advisory
Synopsis
vim bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated vim packages that resolve several issues are now available.
Description
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.
These updated vim packages provide fixes for the following bugs:
- autocommands are macro-like commands that the Vim editor runs when
certain defined events occur, such reading or writing a certain file,
leaving a buffer or window, or exiting Vim. Certain autocommands are
provided with the vim package in Red Hat Enterprise Linux. However, if the
user wanted to remove these autocommands, it was not easy to cleanly do so.
With this update, the Red Hat-bundled autocommands are grouped into the
"redhat" augroup, which allows the set of commands to be more easily
manipulated or removed. (BZ#241308)
- on 32-bit architectures, Vim calculated the total amount of available
memory incorrectly. This miscalculation resulted in Vim slowing down
significantly when opening large files. With these updated packages, Vim
now calculates the total amount of available RAM differently, which avoids
the potential slowdown when opening and/or working with very large files.
(BZ#429208)
- the package-provided vim.sh and vim.csh setup scripts in the
/etc/profile.d directory, for the Bash and Tcsh shells respectively,
employed incorrect shell scripting constructions that did not properly test
certain conditions, such as whether strings returned by the "id" command
could be empty. This update provides corrected setup scripts that fix these
coding errors. (BZ#459823)
All users of vim are advised to upgrade to these updated packages, which
resolve 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 - 241308 - please use augroup for /etc/vimrc autocmds
- BZ - 459823 - `` expansion in /etc/profile.d *.sh files do not provide correct number of parameters to '[' builtin
- BZ - 473977 - vim incorrectly linked to libtermcap instead of libncurses
- BZ - 487064 - /etc/profile.d/vim.csh breaks 'tcsh -e' scripts
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
vim-7.0.109-6.el5.src.rpm | SHA-256: b4170c3b8ac44b3d2f405322de187b05faeb0d121d614239654a9ca6a6a92d94 |
x86_64 | |
vim-X11-7.0.109-6.el5.x86_64.rpm | SHA-256: 061ec9faa59bb3fc59cd9fcb25d125ebc9d1e64c3dc943b6245891e53e512320 |
vim-common-7.0.109-6.el5.x86_64.rpm | SHA-256: 8433a2ed311cb61ad78574adb9202a623bff787a3344ff544d3a339584bec50e |
vim-enhanced-7.0.109-6.el5.x86_64.rpm | SHA-256: 991d07cf93aba64f635b0777288b2d8ced5e2b082599a95f72f8d322efad8b0d |
vim-minimal-7.0.109-6.el5.x86_64.rpm | SHA-256: 6436063e33af17b066bc47bbf1a8289518c4e8de2160e94fc653fec50755385a |
ia64 | |
vim-X11-7.0.109-6.el5.ia64.rpm | SHA-256: 67a02afa11d748124ca44d07858f8542c460f3f8f223b3cbbd6b151917e39d1d |
vim-common-7.0.109-6.el5.ia64.rpm | SHA-256: d343f0fe740b190a9a384c2211a5cbc504d17632a012f3f935c39e7d545bc6af |
vim-enhanced-7.0.109-6.el5.ia64.rpm | SHA-256: fda584417de425af3c7cb91ab3836e682510f05633da9bbf8c45cd435db0405b |
vim-minimal-7.0.109-6.el5.ia64.rpm | SHA-256: 53a65fa741323dee82c0e6b4e30c63f2a3c8593acd46f28a65b60a26a4dc4140 |
i386 | |
vim-X11-7.0.109-6.el5.i386.rpm | SHA-256: a76c011fc41ece233c1b9e6eea8a06dc509453e7382fb42f499667fcaecd2566 |
vim-common-7.0.109-6.el5.i386.rpm | SHA-256: 4312c3b560bb37dd3eb8bd92b1bbd96715a6f37546036318041c93d0aa3bd583 |
vim-enhanced-7.0.109-6.el5.i386.rpm | SHA-256: 02be44398208a7d1b99c076684b8470a8d02c2aa0852755f866f59794d5da70e |
vim-minimal-7.0.109-6.el5.i386.rpm | SHA-256: 6d5c5d425713d51458e746580f8fa1f887f6a8bcf550ac8779c094271feac843 |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
vim-7.0.109-6.el5.src.rpm | SHA-256: b4170c3b8ac44b3d2f405322de187b05faeb0d121d614239654a9ca6a6a92d94 |
x86_64 | |
vim-X11-7.0.109-6.el5.x86_64.rpm | SHA-256: 061ec9faa59bb3fc59cd9fcb25d125ebc9d1e64c3dc943b6245891e53e512320 |
vim-common-7.0.109-6.el5.x86_64.rpm | SHA-256: 8433a2ed311cb61ad78574adb9202a623bff787a3344ff544d3a339584bec50e |
vim-enhanced-7.0.109-6.el5.x86_64.rpm | SHA-256: 991d07cf93aba64f635b0777288b2d8ced5e2b082599a95f72f8d322efad8b0d |
vim-minimal-7.0.109-6.el5.x86_64.rpm | SHA-256: 6436063e33af17b066bc47bbf1a8289518c4e8de2160e94fc653fec50755385a |
i386 | |
vim-X11-7.0.109-6.el5.i386.rpm | SHA-256: a76c011fc41ece233c1b9e6eea8a06dc509453e7382fb42f499667fcaecd2566 |
vim-common-7.0.109-6.el5.i386.rpm | SHA-256: 4312c3b560bb37dd3eb8bd92b1bbd96715a6f37546036318041c93d0aa3bd583 |
vim-enhanced-7.0.109-6.el5.i386.rpm | SHA-256: 02be44398208a7d1b99c076684b8470a8d02c2aa0852755f866f59794d5da70e |
vim-minimal-7.0.109-6.el5.i386.rpm | SHA-256: 6d5c5d425713d51458e746580f8fa1f887f6a8bcf550ac8779c094271feac843 |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
vim-7.0.109-6.el5.src.rpm | SHA-256: b4170c3b8ac44b3d2f405322de187b05faeb0d121d614239654a9ca6a6a92d94 |
x86_64 | |
vim-X11-7.0.109-6.el5.x86_64.rpm | SHA-256: 061ec9faa59bb3fc59cd9fcb25d125ebc9d1e64c3dc943b6245891e53e512320 |
vim-common-7.0.109-6.el5.x86_64.rpm | SHA-256: 8433a2ed311cb61ad78574adb9202a623bff787a3344ff544d3a339584bec50e |
vim-enhanced-7.0.109-6.el5.x86_64.rpm | SHA-256: 991d07cf93aba64f635b0777288b2d8ced5e2b082599a95f72f8d322efad8b0d |
vim-minimal-7.0.109-6.el5.x86_64.rpm | SHA-256: 6436063e33af17b066bc47bbf1a8289518c4e8de2160e94fc653fec50755385a |
i386 | |
vim-X11-7.0.109-6.el5.i386.rpm | SHA-256: a76c011fc41ece233c1b9e6eea8a06dc509453e7382fb42f499667fcaecd2566 |
vim-common-7.0.109-6.el5.i386.rpm | SHA-256: 4312c3b560bb37dd3eb8bd92b1bbd96715a6f37546036318041c93d0aa3bd583 |
vim-enhanced-7.0.109-6.el5.i386.rpm | SHA-256: 02be44398208a7d1b99c076684b8470a8d02c2aa0852755f866f59794d5da70e |
vim-minimal-7.0.109-6.el5.i386.rpm | SHA-256: 6d5c5d425713d51458e746580f8fa1f887f6a8bcf550ac8779c094271feac843 |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
vim-7.0.109-6.el5.src.rpm | SHA-256: b4170c3b8ac44b3d2f405322de187b05faeb0d121d614239654a9ca6a6a92d94 |
s390x | |
vim-X11-7.0.109-6.el5.s390x.rpm | SHA-256: f3d37f8137ed91df0861630b2ae612e10535dce00add2ca42f03b47c59b20af4 |
vim-common-7.0.109-6.el5.s390x.rpm | SHA-256: 72bc4d394d2afba5692790868f2fd32711425b1ea739f19d07d24eddab88810b |
vim-enhanced-7.0.109-6.el5.s390x.rpm | SHA-256: 6831a82a75f5ba28ac18b1a0acd7af33b76bbca69c89c46b7414c59852408baf |
vim-minimal-7.0.109-6.el5.s390x.rpm | SHA-256: da7de127caee6afa7d81230f3bc547457a6c75c4cc940166dd5701c59b01f2a8 |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
vim-7.0.109-6.el5.src.rpm | SHA-256: b4170c3b8ac44b3d2f405322de187b05faeb0d121d614239654a9ca6a6a92d94 |
ppc | |
vim-X11-7.0.109-6.el5.ppc.rpm | SHA-256: 562d59f19dc1f1a6ea40f25594cea6267030aadf9d0f76f6053cb665d100116c |
vim-common-7.0.109-6.el5.ppc.rpm | SHA-256: 5ccb8d2b167046d73a472342dd07e03708b3aff401ba725d34efcd8f2284cce7 |
vim-enhanced-7.0.109-6.el5.ppc.rpm | SHA-256: 3b3dd66b4e1d5e8c99ded491c6100712f6350a681edfb9fc79b0c7cb92a8f175 |
vim-minimal-7.0.109-6.el5.ppc.rpm | SHA-256: 10da1424f4a965b7e23a5c91d9257c56c94b95677072bf337588f4394463a485 |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
vim-7.0.109-6.el5.src.rpm | SHA-256: b4170c3b8ac44b3d2f405322de187b05faeb0d121d614239654a9ca6a6a92d94 |
x86_64 | |
vim-X11-7.0.109-6.el5.x86_64.rpm | SHA-256: 061ec9faa59bb3fc59cd9fcb25d125ebc9d1e64c3dc943b6245891e53e512320 |
vim-common-7.0.109-6.el5.x86_64.rpm | SHA-256: 8433a2ed311cb61ad78574adb9202a623bff787a3344ff544d3a339584bec50e |
vim-enhanced-7.0.109-6.el5.x86_64.rpm | SHA-256: 991d07cf93aba64f635b0777288b2d8ced5e2b082599a95f72f8d322efad8b0d |
vim-minimal-7.0.109-6.el5.x86_64.rpm | SHA-256: 6436063e33af17b066bc47bbf1a8289518c4e8de2160e94fc653fec50755385a |
i386 | |
vim-X11-7.0.109-6.el5.i386.rpm | SHA-256: a76c011fc41ece233c1b9e6eea8a06dc509453e7382fb42f499667fcaecd2566 |
vim-common-7.0.109-6.el5.i386.rpm | SHA-256: 4312c3b560bb37dd3eb8bd92b1bbd96715a6f37546036318041c93d0aa3bd583 |
vim-enhanced-7.0.109-6.el5.i386.rpm | SHA-256: 02be44398208a7d1b99c076684b8470a8d02c2aa0852755f866f59794d5da70e |
vim-minimal-7.0.109-6.el5.i386.rpm | SHA-256: 6d5c5d425713d51458e746580f8fa1f887f6a8bcf550ac8779c094271feac843 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.