hdt: Reset buffer in cli
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Wed, 18 Mar 2009 23:22:46 +0000 (16:22 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Thu, 19 Mar 2009 03:19:28 +0000 (20:19 -0700)
commitc9c116011d587a6b87e0f606845aed075950297b
tree8f9b77223191482ab4eb7d17898fd03da4a0aaeb
parentca466f1b7952e5956d0fac4b6f1004a27eb4f1eb
hdt: Reset buffer in cli

Impact: Fix buffer corruption in cli.

After displaying the line, cur_pos and cli_line need to be reset.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/hdt/hdt-cli.c
com32/hdt/hdt-cli.h