Enrico Weigelt, metux IT consult said on Fri, 30 Jul 2021 15:24:07 +0200
>In kernel space, we have the golden rule of not doing any larger stack >allocations, even not larger fixed sized arrays. Larger than how much? Surely bestdistro[12]; strncpy(bestdistro, "Devuan", strlen("Devuan")); would be OK, right? SteveT Steve Litt Spring 2021 featured book: Troubleshooting Techniques of the Successful Technologist http://www.troubleshooters.com/techniques _______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng