Browse Source

libobs: Specify format string for bcrash

Detected by PVS Studio.
Richard Stanway 4 years ago
parent
commit
dccf569982
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libobs/obs-win-crash-handler.c

+ 1 - 1
libobs/obs-win-crash-handler.c

@@ -549,7 +549,7 @@ static LONG CALLBACK exception_handler(PEXCEPTION_POINTERS exception)
 	inside_handler = true;
 
 	handle_exception(&data, exception);
-	bcrash(data.str.array);
+	bcrash("%s", data.str.array);
 	exception_handler_data_free(&data);
 
 	inside_handler = false;