mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix a bug with splitting strings in Ascii input reader
The previous way of splitting strings would break if the last string in the line was an empty string, and it would return one fewer fields than it should have. This was breaking the last line in the scripts.base.framework.input.ascii.setspecialcases once the bug fixed in GH #1628 was fixed.
This commit is contained in:
parent
a0cc34efb2
commit
d57ad3e405
3 changed files with 16 additions and 37 deletions
|
@ -17,9 +17,9 @@ testing,
|
|||
testing,testing,testing,
|
||||
{
|
||||
}
|
||||
}, s=[, , , ]],
|
||||
}, s=[, testing]],
|
||||
}, s=[]],
|
||||
}, s=[testing, , testing]],
|
||||
}, s=[testing, ]],
|
||||
}, s=[testing,testing,testing,]]
|
||||
}, ss=[, , , ]],
|
||||
}, ss=[, testing]],
|
||||
}, ss=[]],
|
||||
}, ss=[testing, , testing]],
|
||||
}, ss=[testing, ]],
|
||||
}, ss=[testing,testing,testing,]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue