summaryrefslogtreecommitdiff
path: root/Kernel/TTY/ConsoleManagement.h
diff options
context:
space:
mode:
authorSimon Woertz <simon@woertz.at>2021-11-07 16:22:12 +0100
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-11-08 16:34:03 -0800
commit1476f02f99e351f3171bf288eaecb47031dbdf4f (patch)
treeaad5e20dba310c3f1b5e637d51a840f1b0165917 /Kernel/TTY/ConsoleManagement.h
parent1e48cd35a1229fe6cfbf9b24154f96f4d38fadf2 (diff)
downloadserenity-1476f02f99e351f3171bf288eaecb47031dbdf4f.zip
SoundPlayer: Fix stack-use-after-scope when playing file in loop mode
The path returned by GUI:FilePicker is stored on the stack when the callback is executed. The player only stored a StringView to the path however it should take ownership of the path instead since the path is accessed even after the file menu open action has returned.
Diffstat (limited to 'Kernel/TTY/ConsoleManagement.h')
0 files changed, 0 insertions, 0 deletions