k4cg / matomat-service

Matomat as a Service (MaaS)
MIT License
5 stars 2 forks source link

Integer underflow when creating debt #13

Closed winterMate closed 5 years ago

winterMate commented 5 years ago

https://github.com/k4cg/matomat-service/issues/7

With the introduction of the ability to create debt, only superficial changes were made. The data types currently are unsigned integers, this needs to be changed to signed integers to avoid under or overflows. Also valid min and max values need to be introduced and enforced.

winterMate commented 5 years ago

Fixed with PR17