[PYGRUB] Fix a few bounds violations in pygrub's command-line editor.
authorTim Deegan <Tim.Deegan@xensource.com>
Thu, 9 Nov 2006 14:23:24 +0000 (14:23 +0000)
committerTim Deegan <Tim.Deegan@xensource.com>
Thu, 9 Nov 2006 14:23:24 +0000 (14:23 +0000)
commit6f88f21ddc403dc8441f640f43fc691da9d7e44a
tree490ea6d7e5435b26c315ec8175bb7cea2936d00b
parent0d58f56d574711d54ed1764aedc3d7c212991c1b
[PYGRUB] Fix a few bounds violations in pygrub's command-line editor.
Don't step off the end of the line, or delete characters that aren't there.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
tools/pygrub/src/pygrub