1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

The addition of few more 32bit integer into struct snd_mixer causing

an accidental MIXER_SIZE overflow. Use 8bit integer instead of 32bit
to reduce the kludge size.

Noticed by:	tegge
This commit is contained in:
Ariff Abdullah 2006-09-30 01:01:18 +00:00
parent 64437d397b
commit 8ddbd40588
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162828

View File

@ -47,9 +47,9 @@ struct snd_mixer {
u_int32_t recdevs;
u_int32_t recsrc;
u_int16_t level[32];
u_int32_t parent[32];
u_int8_t parent[32];
u_int32_t child[32];
u_int32_t realdev[32];
u_int8_t realdev[32];
char name[MIXER_NAMELEN];
struct mtx *lock;
oss_mixer_enuminfo enuminfo;