RevenantX / foo_cuefixer

Simple component for Foobar2000 to fix CUE/FLAC problems
MIT License
66 stars 4 forks source link

Try for exception filesystem::g_exists(dir + cue) #8

Closed foxx1337 closed 1 year ago

foxx1337 commented 1 year ago

This avoids crashing foobar2000 when a cue file contains qualified references. For example

C:\folder\file.cue

with an entry like

FILE "C:\folder\file.wav" WAVE

will end up querying g_exists("C:\folder\C:\folder\file.wav") which throws exception_io_win32.