Skip to content
Snippets Groups Projects
Commit adb4b83c authored by Dan Carpenter's avatar Dan Carpenter Committed by Jason Wessel
Browse files

kgdboc,kgdbts: strlen() doesn't count the terminator


This is an off by one because strlen() doesn't count the null
terminator.  We strcpy() these strings into an array of size
MAX_CONFIG_LEN.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
parent 521cb40b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment