Bug#379119: vim: xxd -r has problems when encountering %%EOF in ASCII column

Thomas Arendsen Hein thomas at intevation.de
Fri Jul 21 13:28:19 UTC 2006

Package: vim
Version: 1:6.3-071+1sarge1
Severity: important

To reproduce:
$ echo -e "123456\n%%EOF"|xxd|xxd -r

The 4V is hex "12 34 56", viewable e.g. with xxd:
$ echo -e "123456\n%%EOF"|xxd|xxd -r|xxd
0000000: 3132 3334 3536 0a25 2545 4f46 0a12 3456  123456.%%EOF..4V

I'm setting this to priority important as this problem causes change of
real data (not specially crafted to break xxd; in my case a PDF file)
when using default settings.

The bug is fixed in vim 7.0 which migrated to testing three days ago,
while 6.4 still had this problem. But it would still be good to have a
fix for upcoming sarge update releases.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux
Locale: LANG=en_US, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

Versions of packages vim depends on:
ii  dpkg                  1.10.28            Package maintenance system for Deb
ii  libc6                 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
ii  libgpmg1              1.19.6-19sarge1    General Purpose Mouse - shared lib
ii  libncurses5           5.4-4              Shared libraries for terminal hand
ii  vim-common            1:6.3-071+1sarge1  Vi IMproved - Common files

-- no debconf information

More information about the pkg-vim-maintainers mailing list