From dccf5699823242dee9ffe55e38334f35086aee28 Mon Sep 17 00:00:00 2001 From: Richard Stanway Date: Sat, 15 Jan 2022 00:29:55 +0100 Subject: [PATCH] libobs: Specify format string for bcrash Detected by PVS Studio. --- libobs/obs-win-crash-handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs/obs-win-crash-handler.c b/libobs/obs-win-crash-handler.c index 9577bf563..0310896e0 100644 --- a/libobs/obs-win-crash-handler.c +++ b/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;