bitcoin/bitcoin — pull request #4944 by ENikS (2014-09-18 21:10:19+00:00)
Title: Fixing 'vector out of bounds' issue in base 32 and 64

Running base64/32_tests revealed that empty string **Test case: vstrOut[] = {"", .. };** generates an exception.

If **vector** has no elements **(size == 0)** calling **vchRet[0]** throws an out of bounds exception.