[PATCH] fbdev: potential information leak in do_fb_ioctl()

Joe Perches joe at perches.com
Thu Oct 31 18:16:39 UTC 2019

On Wed, 2019-10-30 at 21:12 +0100, Andrea Righi wrote:
> Then memset() + memcpy() is probably the best option,
> since copying all those fields one by one looks quite ugly to me...

A memset of an automatic before a memcpy to the same
automatic is unnecessary.

More information about the dri-devel mailing list