Avoid copying undo data
Fixing 'vector out of bounds' issue in base 32 and 64
Merge pull request #4944

018cec7 Fixing 'vector out of bounds' issue in base 32 and 64 (ENikS)
Merge pull request #4835

ab15b2e Avoid copying undo data (Pieter Wuille)