aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/control.h
diff options
context:
space:
mode:
authorYoann Desmouceaux <ydesmouc@cisco.com>2017-09-20 10:08:28 +0200
committerChris Luke <chris_luke@comcast.com>2017-09-20 14:40:49 +0000
commit561ae0a63516e092672532424904706f51eb2b84 (patch)
treef45c001fa9f2e41c8d5ae3a8f11c4c47bc3c68f6 /src/vnet/lisp-cp/control.h
parent6b297aa1f5cf8de294dc839edbce5470318606c8 (diff)
CLI: fix segfault when browsing an empty history
When one starts VPP, types a command, presses up rather than enter, then types a new command, unix_cli_line_process_one() segfaults. This is due to cf->cursor not being reset upon pressing up if the history is empty. Change-Id: Ie503f20a9cb551e735abb8b0f4feb8c0006d2b61 Signed-off-by: Yoann Desmouceaux <ydesmouc@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp/control.h')
0 files changed, 0 insertions, 0 deletions