Skip to content

Bug: saft-dm parses newline in schedule incorrectly #133

@anragsi

Description

@anragsi

Reproduced on saftlib 3.1.3, 3.1.4
If a schedule has the form

0x1111000000000000 0x0 123000000 \newline
\newline
\newline
EOL

injection will be as follows

$ saft-dm tr0 foo -p
     Event time           Event ID          Parameter
-----------------------------------------------------
      123000000 0x1111000000000000 0x0000000000000000
      123000000 0x1111000000000000 0x0000000000000000
      123000000 0x1111000000000000 0x0000000000000000

The faulty parsing of newlines in the schedule should be fixed.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions