Author: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> Use kmalloc_array instead of kmalloc for arrays to prevent integer overflows. This was done using Coccinelle: @@ expression e1, e2; constant C; type t; @@ ( – kmalloc( + kmalloc_array( e2 – * + , sizeof(e1), C) | – kmalloc( + kmalloc_array( e1 – * + , sizeof(t), C) | – …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.