diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2014-01-12 17:31:53 +0100 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-12 17:37:16 +0100 |
| commit | 193911af760d460198fc7f08bf6da824f74975b7 (patch) | |
| tree | 5cdb79ab1f3093ef8967d56a2e2f3ecfb0d2ff89 /apps/plugins/stopwatch.lua | |
| parent | 3ae73433ab826c7a4f3c49b4d0a86fd9dc29a9cc (diff) | |
| download | rockbox-193911af760d460198fc7f08bf6da824f74975b7.zip rockbox-193911af760d460198fc7f08bf6da824f74975b7.tar.gz rockbox-193911af760d460198fc7f08bf6da824f74975b7.tar.bz2 rockbox-193911af760d460198fc7f08bf6da824f74975b7.tar.xz | |
put_line(): Fix buffer overflow.
At the end of the format string it wrote a last byte (or inline string) past
the end of the lcd boundaries, potentially overwriting unrelated memory. It
now makes sure it won't exceed the viewport's width.
Change-Id: Id4cfce918e8b070b7fc3c7d33f389f7a171963ff
Diffstat (limited to 'apps/plugins/stopwatch.lua')
0 files changed, 0 insertions, 0 deletions