summaryrefslogtreecommitdiffstats
path: root/kernel/.gitignore
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2013-02-03 16:32:28 +0100
committerJason Wessel <jason.wessel@windriver.com>2013-03-02 15:52:18 +0100
commit4eb7a66d9410927fb8fbafad8b8298b627cdd128 (patch)
treec16c9844a02ac61b1d4aac613f18f3157620de46 /kernel/.gitignore
parentFixed dead ifdef block by adding missing Kconfig option. (diff)
downloadlinux-4eb7a66d9410927fb8fbafad8b8298b627cdd128.tar.xz
linux-4eb7a66d9410927fb8fbafad8b8298b627cdd128.zip
kdb: Fix overlap in buffers with strcpy
Maxime reported that strcpy(s->usage, s->usage+1) has no definitive guarantee that it will work on all archs the same way when you have overlapping memory. The fix is simple for the kdb code because we still have the original string memory in the function scope, so we just have to use that as the argument instead. Reported-by: Maxime Villard <rustyBSD@gmx.fr> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/.gitignore')
0 files changed, 0 insertions, 0 deletions