trek(6): Fix bounds checking.
authorSascha Wildner <saw@online.de>
Sat, 13 Dec 2014 10:51:56 +0000 (11:51 +0100)
committerSascha Wildner <saw@online.de>
Sat, 13 Dec 2014 10:51:56 +0000 (11:51 +0100)
commitbbd894fbda2716b489013ee3faa1b8196e8a1308
tree27e1b80ee28dc917ad851d253202869b1138fce2
parentededf5ed0c9027d1879a9d986e5f0c7fab889799
trek(6): Fix bounds checking.

The number of sectors was being used to check input for the quadrant,
and NSECTS > NQUADS.

Taken-from:  FreeBSD ports (games/bsdgames)
Reported-by: marino
games/trek/computer.c