Re: [Qemu-devel] [PATCH] i386: avoid null pointer dereference

2016-01-07 Thread Paolo Bonzini
On 04/01/2016 16:49, P J P wrote: > +-- On Fri, 18 Dec 2015, P J P wrote --+ > | A null pointer dereference issue was reported by Mr Ling Liu, CC'd here. It > | occurs while doing I/O port write operations via hmp interface. In that, > | 'current_cpu' remains null as it is not called from cpu_exe

Re: [Qemu-devel] [PATCH] i386: avoid null pointer dereference

2016-01-04 Thread P J P
+-- On Fri, 18 Dec 2015, P J P wrote --+ | A null pointer dereference issue was reported by Mr Ling Liu, CC'd here. It | occurs while doing I/O port write operations via hmp interface. In that, | 'current_cpu' remains null as it is not called from cpu_exec loop, which | results in the said issue.

[Qemu-devel] [PATCH] i386: avoid null pointer dereference

2015-12-17 Thread P J P
Hello, A null pointer dereference issue was reported by Mr Ling Liu, CC'd here. It occurs while doing I/O port write operations via hmp interface. In that, 'current_cpu' remains null as it is not called from cpu_exec loop, which results in the said issue. Below is a proposed (tested)patch