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
Inside conditional minimum value is choosen, and in random_level max is bounded with 32. But, array index will be initialized with greater number from conditional. So it is possible to have array of 32 elements and index 99.
Possible resolution is to add assert or use min value from conditional for index
The text was updated successfully, but these errors were encountered:
libcds/cds/intrusive/impl/skip_list.h
Lines 1101 to 1106 in 44c052b
libcds/cds/intrusive/impl/skip_list.h
Lines 359 to 363 in 44c052b
Inside conditional minimum value is choosen, and in random_level max is bounded with 32. But, array index will be initialized with greater number from conditional. So it is possible to have array of 32 elements and index 99.
Possible resolution is to add assert or use min value from conditional for index
The text was updated successfully, but these errors were encountered: