* grub-core/normal/charset.c (bidi_line_wrap): Fix out-of-range swap.
This commit is contained in:
parent
5100671655
commit
3f8cdd9052
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-03-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/normal/charset.c (bidi_line_wrap): Fix out-of-range swap.
|
||||
|
||||
2012-03-28 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* docs/grub.texi (Invoking grub-probe): New section.
|
||||
|
|
|
@ -577,7 +577,7 @@ bidi_line_wrap (struct grub_unicode_glyph *visual_out,
|
|||
/* FIXME: can be optimized. */
|
||||
for (j = max_level; j > min_odd_level - 1; j--)
|
||||
{
|
||||
unsigned in = 0;
|
||||
unsigned in = line_start;
|
||||
unsigned i;
|
||||
for (i = line_start; i < k; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue