mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00

Escaped ,'s in sets and vectors were unescaped before tokenization Handling of zero-length-strings as last element in a set was broken (sets ending with a ,). Hashing of lines just containing zero-length-strings was broken (now a \0 is appended to each string before it is hashed - giving us a hash of something for a line just consisting of \0s. This also allows to differentiate between vectors with varying numbers of zero-length-strings).
20 lines
230 B
Text
20 lines
230 B
Text
{
|
|
[2] = [s={
|
|
,
|
|
testing
|
|
}, s=[testing, , testing]],
|
|
[4] = [s={
|
|
,
|
|
testing
|
|
}, s=[testing, ]],
|
|
[1] = [s={
|
|
testing,testing,testing,
|
|
}, s=[testing,testing,testing,]],
|
|
[5] = [s={
|
|
|
|
}, s=[, , , ]],
|
|
[3] = [s={
|
|
,
|
|
testing
|
|
}, s=[, testing]]
|
|
}
|