ppy / osu-performance

Calculates user performance aggregates from scores
GNU Affero General Public License v3.0
241 stars 45 forks source link

Prevent attributes being set out-of-bounds #154

Closed smoogipoo closed 3 years ago

smoogipoo commented 3 years ago

This looks to work on testing locally, it was writing out of bounds in the array (because the attrib id can't be mapped locally so the array isn't resized to accommodate it) so potentially replacing other values in memory. Also means that it could also segfault.