mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-22 21:28:32 -05: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.