kallsyms: fix potential overflow in binary search
authorVegard Nossum <vegard.nossum@gmail.com>
Fri, 25 Jul 2008 08:45:34 +0000 (01:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:27 +0000 (10:53 -0700)
commit2fc9c4e18f94431e7eb77d97edb2a995b46fba55
tree4d5f003ab52c9e50774c856a5cc2e53699b0b21e
parent58340a07c194e0aed7bc58b61ff24330bb2a409f
kallsyms: fix potential overflow in binary search

This will probably never trigger... but it won't hurt to be careful.

http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Joshua Bloch <jjb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kallsyms.c