pal: check for buffer overflow

Change buff size to 22 so that it can able to accomodate
32/64 bit integer variable.

Change-Id: I1b405c93976555bf9c9c9130086fbca5921ca15b
1 file changed