Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/tools/testing/selftests/proc/   (Open Source Betriebssystem Version 6.17.9©) image not shown  

SSL asan.patch.0   Sprache: unbekannt

 
--- dist.c
+++ dist.c
@@ -405,7 +405,12 @@
   for (temp = platform->machine; *temp != '\0'; temp ++)
     if (*temp == '-' || *temp == '_')
     {
-      strcpy(temp, temp + 1);
+      char * t2 = temp;
+      for (;; ++t2) {
+        char c = t2[1];
+        t2[0] = c;
+        if (c == '\0') break;
+      }
       temp --;
     }
     else

[ Verzeichnis aufwärts0.13unsichere Verbindung  Übersetzung europäischer Sprachen durch Browser  ]