Fix scan-build detected issue with copying garbage data to ipv4prefix attributes