]> git.ozlabs.org Git - ccan/commit
cpuid: increment over size of cpu array, not just first one.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 4 Nov 2016 10:44:21 +0000 (21:14 +1030)
committerAhmed Samy <f.fallen45@gmail.com>
Fri, 4 Nov 2016 20:52:47 +0000 (20:52 +0000)
commit29490fe08d33d35f1ac037d905d68028e6e1a075
tree6f913e6630b93312a83358f80fe1d1df6bf12c89
parent318edb2466a24a2eadcfd05fa83ae29c0e8aae03
cpuid: increment over size of cpu array, not just first one.

Found by PCS Suite.

Reported-by: Jon Griffiths
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
ccan/cpuid/cpuid.c