Re: [PATCH] video: fbdev: udlfb: Fix buffer on stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > +       const u8 set_def_chn[] = {  
> 
> Please make this static, else it will be copied once more by the compiler.
> 
> kmalloc() + memcpy() => kmemdup().
> 

Thanks, Geert!
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Tourism]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux