Le 18/01/2016 11:30, Paolo Bonzini a écrit :
> 
> 
> On 02/10/2015 14:48, Laurent Vivier wrote:
>> +        target_fd_trans = g_realloc(target_fd_trans,
>> +                                    target_fd_max * sizeof(TargetFdTrans));
> 
> This should be TargetFdTrans * (reported by Coverity).  Even better you
> could use g_renew.
> 
> It's harmless because sizeof(TargetFdTrans) > sizeof(TargetFdTrans *),
> but it should be fixed nevertheless.

OK, thank you Paolo.

I will fix that.

Laurent


Reply via email to