Преглед изворни кода

libobs: Specify format string for bcrash

Detected by PVS Studio.
Richard Stanway пре 3 година
родитељ
комит
dccf569982
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
 	inside_handler = true;
 
 
 	handle_exception(&data, exception);
 	handle_exception(&data, exception);
-	bcrash(data.str.array);
+	bcrash("%s", data.str.array);
 	exception_handler_data_free(&data);
 	exception_handler_data_free(&data);
 
 
 	inside_handler = false;
 	inside_handler = false;