[sr-dev] [kamailio/kamailio] Possible deadlock bug in the method acquire_spi and release_spi? (Issue #2939)
notifications at github.com
Thu Nov 18 06:31:22 CET 2021
In the method `acquire_spi`, the condition of acquiring and releasing is not aligned. It seems the lock would be acquired but released only when `spi_data->spi_val == initial_val`, Would it lead to missing lock release?
In the method `release_spi`, the lock may be re-acquired so missing lock release in the method `acquire_spi` could lead to a deadlock.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-dev