libratbox: Fixed a memory overlap issue