Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
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