File blender-strncat.patch of Package blender

--- extern/qhull/src/global.c
+++ extern/qhull/src/global.c
@@ -526,7 +526,7 @@
 
   if (command != &qh qhull_command[0]) {
     *qh qhull_command= '\0';
-    strncat( qh qhull_command, command, sizeof( qh qhull_command));
+    strncat( qh qhull_command, command, sizeof( qh qhull_command) - 1);
   }
   while (*s && !isspace(*s))  /* skip program name */
     s++;
openSUSE Build Service is sponsored by