Format string bug in shtags.pl

Bug #793703 reported by Emanuel Bronshtein
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: vim-runtime

vim/vim73/tools/shtags.pl have format string bug .

test case :
emanuel@emanuel-desktop:~$ echo 1 > '/tmp/a%n'
emanuel@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 ;

Revision history for this message
Paul White (paulw2u) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to review all reported bugs in a timely manner.

I'm closing this bug report as 'Invalid' as no version information was given for either Vim or Ubuntu and as over twelve years have passed without comment it is unlikely that an Ubuntu developer will even look at a bug report which probably needs to be fixed upstream by a Vim developer.

Changed in vim (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.