Peter Krempa wrote:

> On Sat, May 23, 2026 at 09:42:35 +0200, Roman Bogorodskiy wrote:
> > When entering an interactive session, that is, without a command
> > specified:
> > 
> >   virsh --connect $URI
> > 
> > virsh currently segfaults because it tries to access
> > ctl->cmd->def->handler and the ctl->cmd is NULL.
> > 
> > Fix by checking if ctl->cmd is not NULL before doing further checks.
> > 
> > Fixes: b489eb8d6b52d4183754a5d1da55006148a331e4
> > Signed-off-by: Roman Bogorodskiy <[email protected]>
> > ---
> >  tools/virsh.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 
> Reviewed-by: Peter Krempa <[email protected]>
> 
> and it should be pushed before we enter freeze!

Thanks, pushed! 

Reply via email to