[bug report] cxd2820r: dynamically allocated arrays

2011-05-25 Thread Dan Carpenter
This driver has several places that use dynamically sized arrays. It's dangerous to do that in the kernel because the kernel has a very small stack. A bug could cause the stack to overflow and corrupt memory. I seem to recall i2c transfers can be triggered by the users but I don't know the

Re: [bug report] cxd2820r: dynamically allocated arrays

2011-05-25 Thread Antti Palosaari
Hello Dan, I am just fixing those and also some other fixes. regards, Antti On 05/25/2011 05:42 PM, Dan Carpenter wrote: This driver has several places that use dynamically sized arrays. It's dangerous to do that in the kernel because the kernel has a very small stack. A bug could cause the