mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-14 12:36:27 -04:00
vsnprintf is called twice; one call must use args, and one must use args2 (which is how it was supposed to be from the beginning). Each call "consumes" its va_list parameter, so they each need to use a separate copy. Fixes potential corruption and/or crashing when calling vsnprintf.