VirtualBox

Changeset 89556 in vbox


Ignore:
Timestamp:
Jun 8, 2021 8:03:03 AM (4 years ago)
Author:
vboxsync
Message:

DrvAudio: Missing stream locking in drvAudioEnable. bugref:9890

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvAudio.cpp

    r89512 r89556  
    858858            if (pStreamEx->Core.Cfg.enmDir == enmDir)
    859859            {
     860                RTCritSectEnter(&pStreamEx->Core.CritSect);
     861
    860862                /*
    861863                 * When (re-)enabling a stream, clear the disabled warning bit again.
     
    910912                    }
    911913                }
     914
     915                RTCritSectLeave(&pStreamEx->Core.CritSect);
    912916            }
    913917        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette