Re: [Qemu-devel] [PATCH] target-sh4: Use glib allocator in movcal helper

2016-07-22 Thread Peter Maydell
On 21 July 2016 at 17:28, Aurelien Jarno wrote: > On 2016-07-21 13:44, Peter Maydell wrote: >> Ping? >> >> thanks >> -- PMM >> >> On 12 July 2016 at 13:50, Peter Maydell wrote: >> > Coverity spots that helper_movcal() calls malloc() but doesn't >>

Re: [Qemu-devel] [PATCH] target-sh4: Use glib allocator in movcal helper

2016-07-21 Thread Aurelien Jarno
On 2016-07-21 13:44, Peter Maydell wrote: > Ping? > > thanks > -- PMM > > On 12 July 2016 at 13:50, Peter Maydell wrote: > > Coverity spots that helper_movcal() calls malloc() but doesn't > > check for failure. Fix this by switching to the glib allocation > >

Re: [Qemu-devel] [PATCH] target-sh4: Use glib allocator in movcal helper

2016-07-21 Thread Peter Maydell
Ping? thanks -- PMM On 12 July 2016 at 13:50, Peter Maydell wrote: > Coverity spots that helper_movcal() calls malloc() but doesn't > check for failure. Fix this by switching to the glib allocation > functions, which abort on allocation failure. > > Signed-off-by:

[Qemu-devel] [PATCH] target-sh4: Use glib allocator in movcal helper

2016-07-12 Thread Peter Maydell
Coverity spots that helper_movcal() calls malloc() but doesn't check for failure. Fix this by switching to the glib allocation functions, which abort on allocation failure. Signed-off-by: Peter Maydell --- target-sh4/op_helper.c | 7 --- 1 file changed, 4