Fix some cases where an index was used before its limits check.
commit799ba435edf825f35aa8f08bc8353a878dca2116
authorSascha Wildner <saw@online.de>
Fri, 31 Mar 2017 14:58:37 +0000 (31 16:58 +0200)
committerSascha Wildner <saw@online.de>
Fri, 31 Mar 2017 14:59:08 +0000 (31 16:59 +0200)
tree5ed9aee8ac49be19baff467c85b6efa2bed1e0d3
parentc6a3b40da67bcd2eaf7665f6ea3639037132be48
Fix some cases where an index was used before its limits check.

Dragonfly-bugs: 2998, 2999, 3000, 3001
sys/dev/sound/pcm/feeder_matrix.c
usr.bin/bdes/bdes.c
usr.bin/unexpand/unexpand.c
usr.sbin/ndp/ndp.c