ibm-capi / pslse

Power Service Layer Simulation Engine
28 stars 22 forks source link

An improper locking bug(e.g., deadlock) on the lock #119

Closed ryancaicse closed 3 years ago

ryancaicse commented 3 years ago

Hi, developers, thank you for your checking. It seems the lock lock is not released correctly when psl_list == NULL and (listen_fd = _start_server()) < 0?

https://github.com/ibm-capi/pslse/blob/9084b98b1e6a0cb99f23ee5eb5115f2d493e443c/pslse/pslse.c#L580-L594

Best,

bmesnet commented 3 years ago

correction #120 merged

ryancaicse commented 3 years ago

Thank you very much.