Fix OOB error in sa2cidr()