tracy
tracy copied to clipboard
Add basic error handling
Prevents creating strings with negative length
What's the failure mode that these changes are protecting against?
What's the failure mode that these changes are protecting against?
ftell returns -1L anytime it fails to load a file and sprintf returns -1 when it fails to print.
I hope I understood your question correctly.