FW-131. protecting inputBuffer length variable in error case.
Merge branch 'develop' into personalDevelop
FW-131. protecting inputBuffer length variable in error case.[ xvilajosana ]