Zero-sum magic labelings and null sets of regular graphs