1) salt 2 header check should start with a length validation 2) if any of the integer checks fails, write to log