Messages in this thread | | | Date | Wed, 11 Dec 2019 09:18:14 +0100 | From | Greg KH <> | Subject | Re: [PATCH] driver core: Prevent overflow from causing infinite loops |
| |
On Tue, Dec 10, 2019 at 05:41:37PM -0500, Simon Schwartz wrote: > num_resources in the platform_device struct is declared as a u32. > The for loops that iterate over num_resources use an int as the counter, > which can cause infinite loops on architectures with smaller ints.
What arch is that that has so many resources and yet is only a 32bit system?
thanks,
greg k-h
| |