Sterling
DIIDevHeads IoT Integration Server
•Created by Marvee Amasi on 6/11/2024 in #📦-middleware-and-os
What is wrong with my code ?
Hmm, I think the issue with your code lies in the misuse of
sprintf
and memory management. The second argument of sprintf
should be a buffer wherein the result can be stored, not the length. This is causing undefined behavior. @Marvee Amasi7 replies