[Bug 793703] [NEW] Format string bug in shtags.pl
Emanuel Bronshtein
793703 at bugs.launchpad.net
Mon Jun 6 19:37:54 UTC 2011
Public bug reported:
Binary package hint: vim-runtime
vim/vim73/tools/shtags.pl have format string bug .
test case :
emanuel at emanuel-desktop:~$ echo 1 > '/tmp/a%n'
emanuel at emanuel-desktop:~$ /usr/share/vim/vim73/tools/shtags.pl '/tmp/a%n'
Modification of a read-only value attempted at /usr/share/vim/vim73/tools/shtags.pl line 142, <> line 1.
the bug can be found at :
printf "Using $shell for $ARGV\n";
fix : use %s for $shell and $ARGV
printf "Using %s for %s\n" , $shell , $ARGV ;
** Affects: vim (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/793703
Title:
Format string bug in shtags.pl
Status in “vim” package in Ubuntu:
New
Bug description:
Binary package hint: vim-runtime
vim/vim73/tools/shtags.pl have format string bug .
test case :
emanuel at emanuel-desktop:~$ echo 1 > '/tmp/a%n'
emanuel at emanuel-desktop:~$ /usr/share/vim/vim73/tools/shtags.pl '/tmp/a%n'
Modification of a read-only value attempted at /usr/share/vim/vim73/tools/shtags.pl line 142, <> line 1.
the bug can be found at :
printf "Using $shell for $ARGV\n";
fix : use %s for $shell and $ARGV
printf "Using %s for %s\n" , $shell , $ARGV ;
More information about the foundations-bugs
mailing list