condition added to check if lenght < 0 while descrypting byte array --sandeepss
mentioned in commit 58ebcdbc
merged