mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00

Currently, creating a StringVal from a std::string did not work with data that contains \0 characters. This easy fix changes this - and should also lead to a small speed increase for code using this constructor. This obviously means that more data might copied now in some cases that were previously cut off at the first 0-byte. Our test-suite did not reveal any such cases.
9 lines
114 B
Text
9 lines
114 B
Text
[T, T, T, T, T]
|
|
T
|
|
F
|
|
[*, *og, d?g, d[!wl]g]
|
|
[once]
|
|
[]
|
|
[*.gov*, *malware*]
|
|
[z*ro, zero\x00zero]
|
|
[*.gov*, *malware*]
|