fix(billing): validate quantity parameters and harden quota calculations
Bound user-supplied count/duration parameters at request validation, route ratio multipliers through guarded setters, and use saturating int conversions in all quota math paths.
Showing
common/quota_math.go
0 → 100644
common/quota_math_test.go
0 → 100644
Please
register
or
sign in
to comment