fbcmap: prevent memory overflow.