Fixes for Problems reported by Coverity Scan

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fixes for Problems reported by Coverity Scan

Frank Morgner
I took two days to workt though the coverity scan report. And, to be
honest, the results were *devastating*. I fixed a number of low, medium
and high impact problems, some of them were part of the libraries for
years [1].

We need to work through:
1. Fixing the rest of the problems (there are still many problems left)
2. Prepare a new release
3. Add warning-free compilation to the coding guidelines
4. Add static code analysis to CI for all PRs (e.g. by enforcing an
   error free run of cppcheck)

[1] https://github.com/OpenSC/OpenSC/pull/366

--
Frank Morgner

Virtual Smart Card Architecture http://vsmartcard.sourceforge.net
OpenPACE                        http://openpace.sourceforge.net
IFD Handler for libnfc Devices  http://sourceforge.net/projects/ifdnfc

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel

attachment0 (985 bytes) Download Attachment