Re: [Qemu-devel] [PATCH RFC v3 6/7] qemu_thread_join: fix segmentation fault

2018-09-19 Thread Fei Li
On 09/19/2018 11:14 PM, Fam Zheng wrote: On Wed, 09/19 21:35, Fei Li wrote: To avoid the segmentation fault in qemu_thread_join(), just directly return when the QemuThread *thread was failed to be created in both qemu-thread-posix.c and qemu-thread-win32.c. Per English grammar, I think "when

Re: [Qemu-devel] [PATCH RFC v3 6/7] qemu_thread_join: fix segmentation fault

2018-09-19 Thread Fam Zheng
On Wed, 09/19 21:35, Fei Li wrote: > To avoid the segmentation fault in qemu_thread_join(), just directly > return when the QemuThread *thread was failed to be created in both > qemu-thread-posix.c and qemu-thread-win32.c. Per English grammar, I think "when the QemuThread *thread failed to be crea

[Qemu-devel] [PATCH RFC v3 6/7] qemu_thread_join: fix segmentation fault

2018-09-19 Thread Fei Li
To avoid the segmentation fault in qemu_thread_join(), just directly return when the QemuThread *thread was failed to be created in both qemu-thread-posix.c and qemu-thread-win32.c. Signed-off-by: Fei Li --- util/qemu-thread-posix.c | 3 +++ util/qemu-thread-win32.c | 2 +- 2 files changed, 4 in