Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-24 Thread Alex Lanzano
On Thu, Jan 16, 2025 at 05:48:01AM -0800, Nikita Zhandarovich wrote: > There are conditions, albeit somewhat unlikely, under which right hand > expressions, calculating the end of time period in functions like > repaper_frame_fixed_repeat(), may overflow. > > For instance, if 'factor10x' in repape

Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-15 Thread Alex Lanzano
On Thu, Jan 16, 2025 at 05:48:01AM -0800, Nikita Zhandarovich wrote: > There are conditions, albeit somewhat unlikely, under which right hand > expressions, calculating the end of time period in functions like > repaper_frame_fixed_repeat(), may overflow. > > For instance, if 'factor10x' in repape

Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-15 Thread Alex Lanzano
On Sat, Feb 15, 2025 at 11:48:00AM +, David Laight wrote: > On Fri, 14 Feb 2025 20:02:01 -0500 > Alex Lanzano wrote: > > > On Fri, Feb 14, 2025 at 01:29:10PM +, David Laight wrote: > > > On Thu, 13 Feb 2025 20:54:59 -0500 > > > Alex Lanzano wrote: > > > > > > > On Thu, Jan 16, 2025 at

Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-15 Thread David Laight
On Fri, 14 Feb 2025 20:02:01 -0500 Alex Lanzano wrote: > On Fri, Feb 14, 2025 at 01:29:10PM +, David Laight wrote: > > On Thu, 13 Feb 2025 20:54:59 -0500 > > Alex Lanzano wrote: > > > > > On Thu, Jan 16, 2025 at 05:48:01AM -0800, Nikita Zhandarovich wrote: > > > > There are conditions,

Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-14 Thread Alex Lanzano
On Fri, Feb 14, 2025 at 01:29:10PM +, David Laight wrote: > On Thu, 13 Feb 2025 20:54:59 -0500 > Alex Lanzano wrote: > > > On Thu, Jan 16, 2025 at 05:48:01AM -0800, Nikita Zhandarovich wrote: > > > There are conditions, albeit somewhat unlikely, under which right hand > > > expressions, calcu

Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-14 Thread David Laight
On Thu, 13 Feb 2025 20:54:59 -0500 Alex Lanzano wrote: > On Thu, Jan 16, 2025 at 05:48:01AM -0800, Nikita Zhandarovich wrote: > > There are conditions, albeit somewhat unlikely, under which right hand > > expressions, calculating the end of time period in functions like > > repaper_frame_fixed_re

Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-13 Thread Alex Lanzano
On Thu, Jan 16, 2025 at 05:48:01AM -0800, Nikita Zhandarovich wrote: > There are conditions, albeit somewhat unlikely, under which right hand > expressions, calculating the end of time period in functions like > repaper_frame_fixed_repeat(), may overflow. > > For instance, if 'factor10x' in repape

Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-13 Thread Noralf Trønnes
Adding Alex who is now the driver maintainer. On 13.02.2025 17:57, Nikita Zhandarovich wrote: > Gentle ping :) > > On 1/16/25 16:48, Nikita Zhandarovich wrote: >> There are conditions, albeit somewhat unlikely, under which right hand >> expressions, calculating the end of time period in function

Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-13 Thread Nikita Zhandarovich
Gentle ping :) On 1/16/25 16:48, Nikita Zhandarovich wrote: > There are conditions, albeit somewhat unlikely, under which right hand > expressions, calculating the end of time period in functions like > repaper_frame_fixed_repeat(), may overflow. > > For instance, if 'factor10x' in repaper_get_te