Format string bug in xscreensaver-text
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xscreensaver (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xscreensaver-data
/usr/bin/
test case :
emanuel@
emanuel@
emanuel@
xscreensaver-text: reading /tmp/.xscreensaver
Modification of a read-only value attempted at /usr/bin/
the bug can be found at :
if ($verbose > 1) {
printf STDERR "$progname: mode: $text_mode\n";
printf STDERR "$progname: literal: $text_literal\n";
printf STDERR "$progname: file: $text_file\n";
printf STDERR "$progname: program: $text_program\n";
printf STDERR "$progname: url: $text_url\n";
}
Fix can be using print instead or add format %s to printf .
Related branches
Changed in xscreensaver (Ubuntu): | |
status: | New → Confirmed |
Thanks for your report and suggested fix!
This has been fixed in my Debian tree and will be released in Debian in 5.15-4 or 5.19-1. Debian is in release freeze at the moment, but I have uploaded a preview package "5.19-1pre" to my PPA if anyone would like to test it: https:/ /launchpad. net/~tormodvold en/+archive/ ppa