Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Driver data structure was initialized in start() one field at a time. This is error prone (in fact, bio_read and bio_write were not initialized there). Use memset to initialize the whole structure. Additionally, set connection and context structures to NULL in error path of init_library().
- Loading branch information