diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2021-02-12 20:29:31 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2021-02-12 20:29:31 -0800 |
commit | f8b78e9271600f67f7eafb09b66e00640f2c002f (patch) | |
tree | 306d8ba94957a07cce960c1852605109e723905b /src/rmd_capture_audio.c | |
parent | 64c98021730af488c7fc169d2d4d290cb577e7b3 (diff) |
cache: _rmdCacheFileClose should always NULL handles
The existing code would leave the internal handle non-NULL when
the underlying close failed. In the event of a transparent close
when chapters switch failing, a subsequent explicit close is
expected, and the handles must be NULLed out for that explicit
close to not blow up because fclose() leaves the handle undefined
after errors. It's basically a use after free bug.
Diffstat (limited to 'src/rmd_capture_audio.c')
0 files changed, 0 insertions, 0 deletions