<commit_before>Index: gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/lib/cli.c
===================================================================
--- a/gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/lib/cli.c	(revision 40)
+++ b/gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/lib/cli.c	(working copy)
@@ -29,7 +29,7 @@
   // Print the message, if a message was passed.
   if( message )
   {
-    printf(message);
+    printf("%s", message);
   }
 
   // Print the usage.
Index: gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_redirect.c
===================================================================
--- a/gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_redirect.c	(revision 40)
+++ b/gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_redirect.c	(working copy)
@@ -60,7 +60,7 @@
 	}
 
 	/* Set the broker address */
-	pal_snprintf(new_broker->address, MAX_REDIRECT_ADDRESS_LENGTH, address);
+	pal_snprintf(new_broker->address, MAX_REDIRECT_ADDRESS_LENGTH, "%s", address);
 
 	/* Validate that the address was set correctly */
 	if (strlen(new_broker->address) != strlen(address)) {
@@ -433,7 +433,7 @@
 		if (strlen(line) && (line[strlen(line) - 1] == '\n' || line[strlen(line) - 1] == '\r')) line[strlen(line) - 1] = '\0';
 
 		/* Copy the line to the buffer */
-		sprintf(buffer, line);
+		sprintf(buffer, "%s", line);
 
 		/* We found a server, so stop looking */
 		found_server = 1;
Index: gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_setup.c
===================================================================
--- a/gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_setup.c	(revision 40)
+++ b/gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_setup.c	(working copy)
@@ -45,12 +45,6 @@
 #include <linux/if.h>
 #include <linux/route.h>
 
-struct in6_ifreq {
-  struct in6_addr ifr6_addr;
-  __u32           ifr6_prefixlen;
-  int             ifr6_ifindex; 
-};
-
 struct in6_rtmsg {
   struct in6_addr rtmsg_dst;
   struct in6_addr rtmsg_src;<commit_msg>Removed duplicate diff from sformat.patch<commit_after>Index: gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/lib/cli.c
===================================================================
--- a/gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/lib/cli.c	(revision 40)
+++ b/gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/lib/cli.c	(working copy)
@@ -29,7 +29,7 @@
   // Print the message, if a message was passed.
   if( message )
   {
-    printf(message);
+    printf("%s", message);
   }
 
   // Print the usage.
Index: gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_redirect.c
===================================================================
--- a/gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_redirect.c	(revision 40)
+++ b/gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_redirect.c	(working copy)
@@ -60,7 +60,7 @@
 	}
 
 	/* Set the broker address */
-	pal_snprintf(new_broker->address, MAX_REDIRECT_ADDRESS_LENGTH, address);
+	pal_snprintf(new_broker->address, MAX_REDIRECT_ADDRESS_LENGTH, "%s", address);
 
 	/* Validate that the address was set correctly */
 	if (strlen(new_broker->address) != strlen(address)) {
@@ -433,7 +433,7 @@
 		if (strlen(line) && (line[strlen(line) - 1] == '\n' || line[strlen(line) - 1] == '\r')) line[strlen(line) - 1] = '\0';
 
 		/* Copy the line to the buffer */
-		sprintf(buffer, line);
+		sprintf(buffer, "%s", line);
 
 		/* We found a server, so stop looking */
 		found_server = 1;
{'fraction_non_alphanumeric': 0.2563451776649746, 'fraction_numerical': 0.03017484489565708, 'mean_word_length': 3.9608391608391607, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2486820', 'n_tokens_mistral': 1468, 'n_tokens_neox': 1374, 'n_words': 214}