Fix for global buffer overflow in scale factor process function

Bug: 112709994
Test: vendor
Change-Id: Ic201888327c62374a8fcb2b293ac47cd401fede4
3 files changed