The line ase_tag_t tag; does not initialize tag.udata resulting in that uninitialized data getting copied when ase->tags[k] = tag; is hit.
The ase->tags array is initialized to 0 on line 930, so by working directly with the array instead of copying from the temp tag variable, the user data flags for the tag will remain 0.
The line ase_tag_t tag; does not initialize tag.udata resulting in that uninitialized data getting copied when ase->tags[k] = tag; is hit.
The ase->tags array is initialized to 0 on line 930, so by working directly with the array instead of copying from the temp tag variable, the user data flags for the tag will remain 0.