Tag: 7ce1b3d3caa712686eaf295a200718b93dcd57da

staging: fbtft: Use kmalloc_array

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) | – …

Continue reading

BtrLinux
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.