summaryrefslogtreecommitdiffstats
path: root/Documentation/ko_KR
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-10-25 02:19:25 +0200
committerRusty Russell <rusty@rustcorp.com.au>2012-10-31 04:26:37 +0100
commit59ef28b1f14899b10d6b2682c7057ca00a9a3f47 (patch)
tree68ad548001fb24c0e63e1758d368a746998feb05 /Documentation/ko_KR
parentMerge tag 'gpio-fixes-v3.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadlinux-59ef28b1f14899b10d6b2682c7057ca00a9a3f47.tar.xz
linux-59ef28b1f14899b10d6b2682c7057ca00a9a3f47.zip
module: fix out-by-one error in kallsyms
Masaki found and patched a kallsyms issue: the last symbol in a module's symtab wasn't transferred. This is because we manually copy the zero'th entry (which is always empty) then copy the rest in a loop starting at 1, though from src[0]. His fix was minimal, I prefer to rewrite the loops in more standard form. There are two loops: one to get the size, and one to copy. Make these identical: always count entry 0 and any defined symbol in an allocated non-init section. This bug exists since the following commit was introduced. module: reduce symbol table for loaded modules (v2) commit: 4a4962263f07d14660849ec134ee42b63e95ea9a LKML: http://lkml.org/lkml/2012/10/24/27 Reported-by: Masaki Kimura <masaki.kimura.kz@hitachi.com> Cc: stable@kernel.org
Diffstat (limited to 'Documentation/ko_KR')
0 files changed, 0 insertions, 0 deletions