Print this page
11506 smatch resync

@@ -137,11 +137,11 @@
                 len_str--;
                 len_ptr--;
         }
 
         strncpy(buf, fn_str, sizeof(buf));
-        snprintf(buf + len_str, sizeof(buf) - len_str, end_type);
+        snprintf(buf + len_str, sizeof(buf) - len_str, "%s", end_type);
         *sym = tmp_sym;
         return alloc_string(buf);
 }
 
 static void match_assign_function(struct expression *expr)