Issue #2998 has been reported by dcb. ---------------------------------------- Bug #2998: sys/dev/sound/pcm/feeder_matrix.c:753: limit check in wrong place ? http://bugs.dragonflybsd.org/issues/2998
* Author: dcb * Status: New * Priority: Normal * Assignee: * Category: * Target version: ---------------------------------------- sys/dev/sound/pcm/feeder_matrix.c:753]: (style) Array index 'i' is used before limits check. Source code is for (i = 0; m->map[i].type != SND_CHN_T_MAX && i < SND_CHN_OSS_MAX; i++) { Also in the same file, a couple of minor problems: [dragonfly/sys/dev/sound/pcm/feeder_matrix.c:376]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [dragonfly/sys/dev/sound/pcm/feeder_matrix.c:379]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account