Hi Zach,
On 08/16/2016 12:20 AM, Zach Brown wrote:
From: Nathan Sullivan
Per the documentation, use scnprintf instead of sprintf to ensure there
is never more than PAGE_SIZE bytes of trigger names put into the
buffer.
Signed-off-by: Nathan Sullivan
Hi Zach,
On 08/16/2016 12:20 AM, Zach Brown wrote:
From: Nathan Sullivan
Per the documentation, use scnprintf instead of sprintf to ensure there
is never more than PAGE_SIZE bytes of trigger names put into the
buffer.
Signed-off-by: Nathan Sullivan
Signed-off-by: Zach Brown
---
From: Nathan Sullivan
Per the documentation, use scnprintf instead of sprintf to ensure there
is never more than PAGE_SIZE bytes of trigger names put into the
buffer.
Signed-off-by: Nathan Sullivan
Signed-off-by: Zach Brown
From: Nathan Sullivan
Per the documentation, use scnprintf instead of sprintf to ensure there
is never more than PAGE_SIZE bytes of trigger names put into the
buffer.
Signed-off-by: Nathan Sullivan
Signed-off-by: Zach Brown
---
drivers/leds/led-triggers.c | 12 +++-
1 file changed, 7
4 matches
Mail list logo