Thread (3 messages) 3 messages, 2 authors, 2017-12-13

Re: [PATCH] drivers/staging/irda: fix max dup length for kstrndup

flat view

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2017-12-12 18:27:18
Also in: lkml

On Tue, 12 Dec 2017 16:54:44 +0800
Ma Shimiao [off-list ref] wrote:
If source string longer than max, kstrndup will alloc max+1 space.
So, we should make sure the result will not over limit.

Signed-off-by: Ma Shimiao <redacted>
Did you read the TODO file in drivers/staging/irda?
	
	The irda code will be removed soon from the kernel tree as it is old and
	obsolete and broken.

	Don't worry about fixing up anything here, it's not needed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help