Public bug reported: Binary package hint: mysql-client-5.1
/usr/bin/mysqldumpslow have format string bug . test case : emanuel@emanuel-desktop:/tmp$ cat /tmp/query_slow_log # User@Host: root[ro%999999999999sot] @ localhost [] # Query_time: 20.000941 Lock_time: 0.000000 Rows_sent: 1 Rows_examined: 0 emanuel@emanuel-desktop:/tmp$ /usr/bin/mysqldumpslow /tmp/query_slow_log Reading mysql slow query log from /tmp/query_slow_log Integer overflow in format string for prtf at /usr/bin/mysqldumpslow line 149, <> chunk 1. the bug can be found at : printf "Count: %d Time=%.2fs (%ds) Lock=%.2fs (%ds) Rows=%.1f (%d), $user\@$host\n%s\n\n", $c, $at,$t, $al,$l, $ar,$r, $_; fix : printf "Count: %d Time=%.2fs (%ds) Lock=%.2fs (%ds) Rows=%.1f (%d), %s\@%s\n%s\n\n", $c, $at,$t, $al,$l, $ar,$r, $user , $host , $_; ** Affects: mysql-5.1 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/781982 Title: Format string bug in mysqldumpslow -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs