Commit bf67f1c0 authored by Dr. David Alan Gilbert's avatar Dr. David Alan Gilbert
Browse files

monitor.c: Fix infinite loop in monitor's auto-complete



The QEMU monitor enters an infinite loop when trying to auto-complete commands
that accept only optional parameters. The commands currently affected by this
issue are 'info registers' and 'info mtree'.

Reported-by: default avatarDimitris Karagkasidis <t.pagef.lt@gmail.com>
Fixes: 48fe86f6
Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20180213125143.23488-1-dgilbert@redhat.com>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
parent 149da2f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment