Authored by Nagy Tibor

mGBA sdl-audio memory management bug

  • Step 1: Thread A sets the SDL audio callback userdata field to context.
  • Step 2: Thread A sets context->core from null to something.
  • Step 3: Thread B still reads null from context->core inside the audio callback function
sdl-audio.c 4.35 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment