Commit 411cabf7 authored by Prarit Bhargava's avatar Prarit Bhargava Committed by Benjamin Herrenschmidt
Browse files

powerpc/vio: use strcpy in modalias_show

Commit e82b89a6

 used strcat instead of
strcpy which can result in an overflow of newlines on the buffer.

Signed-off-by: Prarit Bhargava
Cc: benh@kernel.crashing.org
Cc: ben@decadent.org.uk
Cc: stable@vger.kernel.org
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent ecb35c39
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment