|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] pygrub: fix IndexError when editing grub lines
At 14:30 -0600 on 07 Nov (1162909858), Ryan Harper wrote:
> pygrub will attempt to pop out-of-range values from a list if one sets
> the cursor past the end of the last character and hits backspace while
> in edit mode.
>
> The attached patch fixes the stack trace below by not allowing the
> cursor to move beyond the end of the line and also checks that the
> current position is within the range of the line before popping.
>
> Please apply.
Applied, thank you (plus a few other bounds checks).
Cheers,
Tim.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|