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
detail.hpp was added with the prototype range scan code. This collects together atomic add/inc/dec functions for different platforms. However, calls to atomic_add_32/64, which expect signed delta arguments, are prototyped with unsigned arguments.
This raises the issue of whether a) these functions could ever get called with unsigned values that could overflow the corresponding signed types, and b) whether the higher-level code that calls these functions can overflow their memory buffers, both of which should be checked
The text was updated successfully, but these errors were encountered:
Basho-JIRA
changed the title
detail.hpp atomic functions called with unsigend types
detail.hpp atomic functions called with unsigend types [JIRA: RIAK-2237]
Oct 23, 2015
detail.hpp was added with the prototype range scan code. This collects together atomic add/inc/dec functions for different platforms. However, calls to atomic_add_32/64, which expect signed delta arguments, are prototyped with unsigned arguments.
This raises the issue of whether a) these functions could ever get called with unsigned values that could overflow the corresponding signed types, and b) whether the higher-level code that calls these functions can overflow their memory buffers, both of which should be checked
The text was updated successfully, but these errors were encountered: