This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
rtaudio
mirror of
https://github.com/falkTX/rtaudio
Watch
1
Star
0
Fork
0
Code
Releases
27
Activity
Browse Source
alsa: avoid uninitialized read
The check if ( subdevice != -1 ) was being done on a potentially uninitialized variable.
tags/4.1.2
Tristan Matthews
11 years ago
parent
e2f63bd305
commit
7efec74033
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
RtAudio.cpp
+ 1
- 0
RtAudio.cpp
View File
@@ -6815,6 +6815,7 @@ RtAudio::DeviceInfo RtApiAlsa :: getDeviceInfo( unsigned int device )
// Count cards and devices
card = -1;
subdevice = -1;
snd_card_next( &card );
while ( card >= 0 ) {
sprintf( name, "hw:%d", card );
Write
Preview
Loading…
Cancel
Save