Closed mentatbot[bot] closed 2 months ago
Resolved the segmentation fault issue by changing the buffer size in the fgets function to match the size of the name array. This prevents buffer overflow and ensures that the input does not exceed the allocated memory.
fgets
name
Closes #16
Resolved the segmentation fault issue by changing the buffer size in the
fgets
function to match the size of thename
array. This prevents buffer overflow and ensures that the input does not exceed the allocated memory.Closes #16