[Git][pacman/pacman][master] 2 commits: Ensure length of log passed from sandbox is within bounds