coding-agent-contributor / simple-hello

MIT License
0 stars 0 forks source link

Fix segmentation fault issue #18 #19

Closed mentatbot[bot] closed 2 months ago

mentatbot[bot] commented 2 months ago

Resolved a segmentation fault caused by buffer overflow. Increased the size of the 'name' buffer from 8 to 128 characters and used sizeof to ensure the correct buffer size is passed to fgets.

Closes #18