Bug Fix Advisory vim bug fix update

Advisory: RHBA-2009:1117-2
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2009-06-22
Last updated on: 2009-09-02
Affected Products: Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)
OVAL: N/A

Details

Updated vim packages that resolve several issues are now available.

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

Updated packages

Red Hat Enterprise Linux (v. 5 server)

SRPMS:
vim-7.0.109-6.el5.src.rpm     7ec828f8b2bcd26d79d7d131abeaff11
 
IA-32:
vim-X11-7.0.109-6.el5.i386.rpm     9dd93f392e62473c6a24673d3773be93
vim-common-7.0.109-6.el5.i386.rpm     cc9935cac7909ac93796bd897f94ecff
vim-enhanced-7.0.109-6.el5.i386.rpm     4c22968921e4ab93eb2008298a437230
vim-minimal-7.0.109-6.el5.i386.rpm     ae29ede151513ab1ee5e24971bab83b0
 
IA-64:
vim-X11-7.0.109-6.el5.ia64.rpm     da39a9cfb0f5274e0d344081364556f3
vim-common-7.0.109-6.el5.ia64.rpm     63253ada69f79b73ea226d0ec1354aec
vim-enhanced-7.0.109-6.el5.ia64.rpm     624b6916df9737bbe74e96a89472be08
vim-minimal-7.0.109-6.el5.ia64.rpm     299943580867da2a175870a1305949d9
 
PPC:
vim-X11-7.0.109-6.el5.ppc.rpm     d1bb484cee5fe3dcf7ed3b4064f769b0
vim-common-7.0.109-6.el5.ppc.rpm     b0ac9a4c9c14a9b2299d69e2bd169ff1
vim-enhanced-7.0.109-6.el5.ppc.rpm     0915c8646de792015c32c60928299cb4
vim-minimal-7.0.109-6.el5.ppc.rpm     4f344d0bc485043e1420aff94de560f1
 
s390x:
vim-X11-7.0.109-6.el5.s390x.rpm     0c497795ca6bf9cf7d19ed411e5f2ab6
vim-common-7.0.109-6.el5.s390x.rpm     07b011f0a6db80dacd7db33b3e3debae
vim-enhanced-7.0.109-6.el5.s390x.rpm     3eb97f727f72903686feab36b1743b7d
vim-minimal-7.0.109-6.el5.s390x.rpm     601108d1855b2942192d353e62b24b74
 
x86_64:
vim-X11-7.0.109-6.el5.x86_64.rpm     19ec3aa13cca546381dc44238dd1be38
vim-common-7.0.109-6.el5.x86_64.rpm     8c4ce7bdda1742494ec0617b3a2ba371
vim-enhanced-7.0.109-6.el5.x86_64.rpm     779d4d951e9ba1f57643c3b4b566e3a3
vim-minimal-7.0.109-6.el5.x86_64.rpm     433523b0770729f4992f4696ae245127
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
vim-7.0.109-6.el5.src.rpm     7ec828f8b2bcd26d79d7d131abeaff11
 
IA-32:
vim-X11-7.0.109-6.el5.i386.rpm     9dd93f392e62473c6a24673d3773be93
vim-common-7.0.109-6.el5.i386.rpm     cc9935cac7909ac93796bd897f94ecff
vim-enhanced-7.0.109-6.el5.i386.rpm     4c22968921e4ab93eb2008298a437230
vim-minimal-7.0.109-6.el5.i386.rpm     ae29ede151513ab1ee5e24971bab83b0
 
x86_64:
vim-X11-7.0.109-6.el5.x86_64.rpm     19ec3aa13cca546381dc44238dd1be38
vim-common-7.0.109-6.el5.x86_64.rpm     8c4ce7bdda1742494ec0617b3a2ba371
vim-enhanced-7.0.109-6.el5.x86_64.rpm     779d4d951e9ba1f57643c3b4b566e3a3
vim-minimal-7.0.109-6.el5.x86_64.rpm     433523b0770729f4992f4696ae245127
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

241308 - please use augroup for /etc/vimrc autocmds
459823 - `` expansion in /etc/profile.d *.sh files do not provide correct number of parameters to '[' builtin
473977 - vim incorrectly linked to libtermcap instead of libncurses
487064 - /etc/profile.d/vim.csh breaks 'tcsh -e' scripts


Keywords

gvim, vim, vim-X11


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/