A fix is available
APAR status
Closed as program error.
Error description
If there is an escape character at the end of the input to col, and this also occurs at the edge of the 512-byte buffer internal to col, then a '1003-708 Invalid NUL character found in input file' error may be seen. For example, file new_col_test_1 contains a single line of text and is 1024 bytes in size, and the last two characters are 0x1b and 0x0a: # col -p < new_col_test_1 col: 1003-708 Invalid NUL character found in input file.
Local fix
Problem summary
If there is an escape character at the end of the input to col, and this also occurs at the edge of the 512-byte buffer internal to col, then a '1003-708 Invalid NUL character found in input file' error may be seen. For e.g a file contains a single line of text and is 1024 bytes in size, and the last two characters are 0x1b and 0x0a. Then the above error is seen.
Problem conclusion
Code changes are made to ensure, that escape characters at end of input file are handled correctly.
Temporary fix
Comments
6100-08 - use AIX APAR IV64399 6100-09 - use AIX APAR IV60664 6100-09 - use AIX APAR IV60664 7100-02 - use AIX APAR IV55648 7100-03 - use AIX APAR IV59522 7100-04 - use AIX APAR IV60690
APAR Information
APAR number
IV55648
Reported component name
AIX V7.1
Reported component ID
5765H4000
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2014-02-19
Closed date
2014-05-19
Last modified date
2016-05-10
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
AIX V7.1
Fixed component ID
5765H4000
Applicable component levels
R710 PSY U865331
UP15/01/19 I 1000
PTF to Fileset Mapping
U865331 bos.txt.tfs 7.1.2.17
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
10 May 2016