You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, it seems the lock srv->lock is not released before Line 246. Although the condition may not very possible to reach, would it be better to release the lock before returning?
Thanks for looking through this! Valid point. The code around the slots mechanism was changed quite a lot in the end and I missed that.
On the other hand it's really an invariant and we are doomed should 2 users (writer + reader) lock more than 2 slots ;)
That code has been replaced already with a different strategy (the global ring buffer on shared memory, mentioned in line 91), we'll hopefully have that in a few months.
Hi, it seems the lock
srv->lock
is not released before Line 246. Although the condition may not very possible to reach, would it be better to release the lock before returning?rtl_433/src/output_rtltcp.c
Lines 231 to 246 in 517b972
The text was updated successfully, but these errors were encountered: