Bug was introduced in D21398.
BUG: 414631
FIXED-IN: 19.12.2
cfeck | |
tommo |
Gwenview |
Bug was introduced in D21398.
BUG: 414631
FIXED-IN: 19.12.2
Compile only and verify normal functionality only; can't reproduce the issue so can't
test the fix
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Oh, good spot. I haven't considered malformed zero-size thumbnails, indeed.
In this case, you should also check for prevWidth > 0, otherwise scale
would become zero and we would have another div-by-zero.