Joel Stanley 85390378f0 powerpc/powernv: Check sysfs size before copying
The sysparam code currently uses the userspace supplied number of
bytes when memcpy()ing in to a local 64-byte buffer.

Limit the maximum number of bytes by the size of the buffer.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2014-04-28 13:08:48 +10:00
..
2014-04-18 13:49:15 -07:00
2014-04-18 16:40:08 -07:00
2014-04-12 17:26:45 -07:00
2014-04-18 16:40:09 -07:00
2014-03-18 16:39:33 -04:00