Hi, Some drivers (like sbxfi with some X-Fi types and some hdaudios) can long names with more than 32 chars. This creates a problem with SNDCTL_MIXERINFO, since the struct has only name[32] (all other cases use 64 bytes). The bug doesn't seem to cause any effects apart from cosmetic ones. The attached patch uses strncpy and makes sure the array is terminated. In addition, minor changes to make.defs (avoid calling `uname -m` all the time), and osstest are attached.
Yours, Yair K.
oss-fix-mixerinfo.diff.gz
Description: GNU Zip compressed data
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel