byannoni / qthreads

A POSIX thread wrapper using a pool and queues of functions for C and (soon) C++
Apache License 2.0
1 stars 1 forks source link

Make fqinit() null check the dispatch table before use #85

Closed byannoni closed 7 years ago

byannoni commented 7 years ago

This should prevent accidental uses of NULL pointers; although , it should not be possible for the dispatch table pointer to be NULL.

Additionally, the rest of the function queue procedures should probably be checked for this.

Fix #74