mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-02 04:15:24 -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.