Menu

#719 [PATCH] sdl/gui: Fix dangling pointers in recordMovie*()

SDL
closed:fixed
nobody
patch (1)
5
2016-01-16
2016-01-13
Mika Attila
No

The movie name created in recordMovie() gets freed before it's used as a parameter for FCEUI_SaveMovie, possibly creating a corrupted file name.

The same erroneous line of code is also repeated in recordMovieAs, although its value is not used, so we remove it altogether.

1 Attachments

Discussion

  • Lukas Sabota

    Lukas Sabota - 2016-01-16

    Thanks for submitting a patch to resolve this issue. Your patch has been applied in r3194. Thanks !

     
  • Lukas Sabota

    Lukas Sabota - 2016-01-16
    • status: open --> closed:fixed
     

Log in to post a comment.