libmypaint
libmypaint copied to clipboard
Check return codes everywhere
Would you like to add more error handling for return values from functions like the following?
Sounds reasonable. Those functions should probably return NULL if the functions you've identified fail.
Do you have a patch, and/or can you further define the scope for this? "Everywhere" is too broad to work from.
I suggest to avoid ignorance of return values a bit more. How do you think about to improve static source code analysis also for this software?
We generally like to automate tests in response to github commits. Perhaps point coverity at it? https://scan.coverity.com/travis_ci