Fix malformed broadcasts (CWE-142)