mirror of https://github.com/qTox/qTox.git
Browse Source
Fix the use after free in Audio::initInput and Audio::initOutput by storing the buffer returned by QString::toUtf8 (which contains data pointed to by tmpDevName) in an intermediate variable, preventing the buffer from falling out of scope for the duration of the function. Fixes #3786reviewable/pr3788/r1
1 changed files with 8 additions and 2 deletions
Loading…
Reference in new issue