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
We currently allow allocation via allocate(int $capacity), but we don't check for overflow or have a maximum capacity. @nikic also mentioned that we should be using the safe_* variants when multiplying sizeof by a variable capacity.
The text was updated successfully, but these errors were encountered:
We currently allow allocation via
allocate(int $capacity)
, but we don't check for overflow or have a maximum capacity. @nikic also mentioned that we should be using thesafe_*
variants when multiplyingsizeof
by a variable capacity.The text was updated successfully, but these errors were encountered: