]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86, tls: Off by one limit check
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 24 Mar 2012 07:52:50 +0000 (10:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 16:27:21 +0000 (09:27 -0700)
commit57ad23326e53fec741be83138643b768e7d2e194
tree5b15a800ed701686be2d4979403536cf4e24d583
parent585bb618b8fb7ebbc1dc0855d94f936fd1ee2d42
x86, tls: Off by one limit check

commit 8f0750f19789cf352d7e24a6cc50f2ab1b4f1372 upstream.

These are used as offsets into an array of GDT_ENTRY_TLS_ENTRIES members
so GDT_ENTRY_TLS_ENTRIES is one past the end of the array.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: http://lkml.kernel.org/r/20120324075250.GA28258@elgon.mountain
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/tls.c