Bug#452789: vim: xxd segfaults with certain parameters

Marc Lehmann debian-reportbug at plan9.de
Sun Nov 25 08:16:41 UTC 2007


Package: vim
Version: 1:7.1-056+2
Severity: normal


subject says most of it, here is an example:

   xxd -b -c 1000 /bin/bash

this segfaults _most_ of the time (but not always). it looks like some
buffer overrun when you use large values of -c or something similar.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.21-2-amd64
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages vim depends on:
hi  libc6                     2.6.1-1        GNU C Library: Shared libraries
ii  libgpmg1                  1.19.6-24      General Purpose Mouse - shared lib
ii  libncurses5               5.6+20070716-1 Shared libraries for terminal hand
ii  vim-common                1:7.1-056+2    Vi IMproved - Common files
ii  vim-runtime               1:7.1-056+2    Vi IMproved - Runtime files

vim recommends no packages.

-- no debconf information





More information about the pkg-vim-maintainers mailing list