View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000529 | file | General | public | 2024-05-18 19:14 | 2024-06-19 16:53 |
| Reporter | marcoxa | Assigned To | christos | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | resolved | Resolution | fixed | ||
| Fixed in Version | 5.46 | ||||
| Summary | 0000529: NETDATA detection in magic file 'ibm370' needx to be fixed. | ||||
| Description | Hi the last record in the `ibm370` magic file deals with IBM NETDATA (or XMIT) file format. It reads. ``` # NETDATA (https://en.wikipedia.org/wiki/NETDATA) # -\INMR01 In EBCDIC 0 string \x60\xe0\xc9\xd5\xd4\xd9\xf0\xf1 IBM NETDATA file ``` This is incorrect as the first two bytes of the first record of a NETDATA (XMIT) file are not necessarily fixed (they contain the logical record length (up to 255) and flags. In fact, it does not quite work (just a check some .XMI files from cbttape.org) The following is better at it just check the mnemonic of the first, mandatory, record. ``` # INMR01 In EBCDIC starting at offset 2 2 string \xc9\xd5\xd4\xd9\xf0\xf1 IBM NETDATA file ``` All the best Marco | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-05-18 19:14 | marcoxa | New Issue | |
| 2024-06-19 16:53 | christos | Assigned To | => christos |
| 2024-06-19 16:53 | christos | Status | new => assigned |
| 2024-06-19 16:53 | christos | Status | assigned => resolved |
| 2024-06-19 16:53 | christos | Resolution | open => fixed |
| 2024-06-19 16:53 | christos | Fixed in Version | => 5.46 |
| 2024-06-19 16:53 | christos | Note Added: 0004058 |