The buffer size was previously badly computed since scale == 0 case was not checked, therefore the buffer size was smaller than intended. This patch fixes this issue. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu