#3969 - Better handling of integer boundaries, esp for point charging

Identifier #3969
Issue type Trivial issue (does not break functionality)
Title Better handling of integer boundaries, esp for point charging
Status Completed
Handling member Chris Graham
Version 10.0.28
Addon core
Description Point charging/refunding doesn't do a bounds check on the minimum points a user can have. Testing with very-large/very-negative values can cause an overflow.
This isn't a realistic scenario, but staff shouldn't be able to create stack traces through the UI.

Also comment more cases where we are limiting ourselves to 32 bit signed numbers as being related to #3046.
Steps to reproduce

Funded? No
Commits

Fixed MANTIS-3969 (1faafa78) · Commits · Composr ecosystem / Composr · GitLab

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated