Incorrect size calculation in length validator
Bug #1797136 reported by
Oleg Ovcharuk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
In Progress
|
High
|
Oleg Ovcharuk |
Bug Description
In function validate_
size_kb = int(sys.
There should not be integer division, but float.
For example, if the size limit is 1KB and the sys.getsizeof(
Changed in mistral: | |
assignee: | nobody → Oleg Ovcharuk (vgvoleg) |
importance: | Undecided → High |
status: | New → Confirmed |
milestone: | none → stein-1 |
Changed in mistral: | |
status: | Confirmed → In Progress |
Changed in mistral: | |
milestone: | stein-1 → stein-2 |
Changed in mistral: | |
milestone: | stein-2 → stein-3 |
Changed in mistral: | |
milestone: | stein-3 → train-1 |
Changed in mistral: | |
milestone: | train-1 → ussuri-1 |
Changed in mistral: | |
milestone: | ussuri-1 → ussuri-2 |
Changed in mistral: | |
milestone: | ussuri-2 → ussuri-3 |
Changed in mistral: | |
milestone: | ussuri-3 → victoria-1 |
Changed in mistral: | |
milestone: | victoria-1 → wallaby-1 |
To post a comment you must log in.