makedeb


gzdoom 4.14.0-2


Feature centric port for all Doom engine games

Viewing /0000-fix-format-security-error.patch.

View raw.

Click here to go back to the Git tree for gzdoom.

diff --git a/src/common/engine/i_net.cpp b/src/common/engine/i_net.cpp
index ad106bbc4a..0e587dd90f 100644
--- a/src/common/engine/i_net.cpp
+++ b/src/common/engine/i_net.cpp
@@ -1072,7 +1072,7 @@ void I_NetError(const char* error)
 {
 	doomcom.numnodes = 0;
 	StartWindow->NetClose();
-	I_FatalError(error);
+	I_FatalError("%s", error);
 }
 
 // todo: later these must be dispatched by the main menu, not the start screen.