Fix UB from signed integer overflow in RWSpinLock
Summary: The signed counters used in a couple of places can in theory (and practice) overflow, yielding UB. Use unsigned counters instead. Reviewed By: luciang, philippv Differential Revision: D5818606 fbshipit-source-id: c5928b779e76b309b00b7f6308a220e2bf6cbf79
Showing
Please register or sign in to comment