Re: [PATCH] hmp/vnc: Fix info vnc list leak

2020-03-24 Thread Dr. David Alan Gilbert
* Dr. David Alan Gilbert (git) (dgilb...@redhat.com) wrote: > From: "Dr. David Alan Gilbert" > > We're iterating the list, and then freeing the iteration pointer rather > than the list head. > > Fixes: 0a9667ecdb6d ("hmp: Update info vnc") > Reported-by: Coverity (CID 1421932) > Signed-off-by: D

Re: [PATCH] hmp/vnc: Fix info vnc list leak

2020-03-24 Thread Peter Maydell
On Mon, 23 Mar 2020 at 12:08, Dr. David Alan Gilbert (git) wrote: > > From: "Dr. David Alan Gilbert" > > We're iterating the list, and then freeing the iteration pointer rather > than the list head. > > Fixes: 0a9667ecdb6d ("hmp: Update info vnc") > Reported-by: Coverity (CID 1421932) > Signed-of

[PATCH] hmp/vnc: Fix info vnc list leak

2020-03-23 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" We're iterating the list, and then freeing the iteration pointer rather than the list head. Fixes: 0a9667ecdb6d ("hmp: Update info vnc") Reported-by: Coverity (CID 1421932) Signed-off-by: Dr. David Alan Gilbert --- monitor/hmp-cmds.c | 5 +++-- 1 file changed, 3