aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorThomas Jarosch <[email protected]>2011-10-29 13:45:56 +0000
committerRalf Baechle <[email protected]>2011-11-08 12:35:29 +0000
commit617d1017545c27a56229483cc1d689eff6c38561 (patch)
tree12a4bcd783cf2071f5a6ae8c1ac061fb7c66a5a6 /lib/debugobjects.c
parentLinux 3.2-rc1 (diff)
downloadkernel-617d1017545c27a56229483cc1d689eff6c38561.tar.gz
kernel-617d1017545c27a56229483cc1d689eff6c38561.zip
MIPS: Yosemite, Emma: Fix off-by-two in arcs_cmdline buffer size check
Cause is a misplaced bracket. The code strlen(buf+1) will be two bytes less than strlen(buf)+1 The +1 is in this code to reserve space for an additional space character. [[email protected]: Thomas' original patch fixed the issue only for Yosemite but the same bug exists also in Emma.] Signed-off-by: Thomas Jarosch <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/2861/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions