hdsp snd_assert
PATCH 1/1 hdsp snd_assert
rme9652/hdsp.c renamed from rme9652/hdsp.c_old +2 -2
@@ -3810,8 +3810,8 @@ {int mapped_channel; - snd_assert(channel >= 0 || channel < hdsp->max_channels, return NULL); - + snd_assert(channel >= 0 && channel < hdsp->max_channels, return NULL); +if ((mapped_channel = hdsp->channel_map[channel]) <0 ) {return NULL ; }
--
Giuliano.
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click