dynamic_debug: replace strcpy with strlcpy, in ddebug_setup_query()
authorJim Cromie <jim.cromie@gmail.com>
Mon, 19 Dec 2011 22:12:29 +0000 (17:12 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Jan 2012 20:46:45 +0000 (12:46 -0800)
commitbc757f6f5bf4e9251bbc1a3419c94ffe9fd3e2ee
tree593f673d80d7cf6981b346dc5d5ac2e6ba5d5c9a
parent74df138d508eb35e8b929e165e5403cfbb46a0c5
dynamic_debug: replace strcpy with strlcpy, in ddebug_setup_query()

Replace strcpy with strlcpy, and add define for the size constant.

[jbaron@redhat.com: Use DDEBUG_STRING_SIZE for overflow check]
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
lib/dynamic_debug.c