Re: [PATCH] eif: cope with huge section sizes

2024-11-08 Thread Dorjoy Chowdhury
On Wed, Nov 6, 2024 at 11:44 PM Paolo Bonzini wrote: > > Check for overflow as well as allocation failure. Resolves Coverity CID > 1564859. > > Signed-off-by: Paolo Bonzini > --- > hw/core/eif.c | 48 +--- > 1 file changed, 41 insertions(+), 7 deleti

Re: [PATCH] eif: cope with huge section sizes

2024-11-06 Thread Dorjoy Chowdhury
On Wed, Nov 6, 2024 at 11:44 PM Paolo Bonzini wrote: > > Check for overflow as well as allocation failure. Resolves Coverity CID > 1564859. > > Signed-off-by: Paolo Bonzini > --- > hw/core/eif.c | 48 +--- > 1 file changed, 41 insertions(+), 7 deleti

Re: [PATCH] eif: cope with huge section sizes

2024-11-06 Thread Pierrick Bouvier
On 11/6/24 09:44, Paolo Bonzini wrote: Check for overflow as well as allocation failure. Resolves Coverity CID 1564859. Signed-off-by: Paolo Bonzini --- hw/core/eif.c | 48 +--- 1 file changed, 41 insertions(+), 7 deletions(-) diff --git a/hw/co

[PATCH] eif: cope with huge section sizes

2024-11-06 Thread Paolo Bonzini
Check for overflow as well as allocation failure. Resolves Coverity CID 1564859. Signed-off-by: Paolo Bonzini --- hw/core/eif.c | 48 +--- 1 file changed, 41 insertions(+), 7 deletions(-) diff --git a/hw/core/eif.c b/hw/core/eif.c index cbcd80de58b.