Create an FD where the record is varying in size depending on variable. Set the length to some value whereby trailing spaces are in the record to be written. Write out the record. Attached is a small sample program demonstrating the bug and a patch.
Log in to post a comment.