zeek/src/threading
Dominik Charousset cebb85b1e8 Fix unsafe and inefficient uses of copy_string
Add a new overload to `copy_string` that takes the input characters plus
size. The new overload avoids inefficient scanning of the input for the
null terminator in cases where we know the size beforehand. Furthermore,
this overload *must* be used when dealing with input character sequences
that may have no null terminator, e.g., when the input is from a
`std::string_view` object.
2023-11-03 15:25:38 +01:00
..
formatters Fix unsafe and inefficient uses of copy_string 2023-11-03 15:25:38 +01:00
BasicThread.cc Reformat Zeek in Spicy style 2023-10-30 09:40:55 +01:00
BasicThread.h Reformat Zeek in Spicy style 2023-10-30 09:40:55 +01:00
Formatter.cc Reformat Zeek in Spicy style 2023-10-30 09:40:55 +01:00
Formatter.h Reformat Zeek in Spicy style 2023-10-30 09:40:55 +01:00
Manager.cc Reformat Zeek in Spicy style 2023-10-30 09:40:55 +01:00
Manager.h Reformat Zeek in Spicy style 2023-10-30 09:40:55 +01:00
MsgThread.cc Fix unsafe and inefficient uses of copy_string 2023-11-03 15:25:38 +01:00
MsgThread.h Reformat Zeek in Spicy style 2023-10-30 09:40:55 +01:00
Queue.h Reformat Zeek in Spicy style 2023-10-30 09:40:55 +01:00
SerialTypes.cc Fix unsafe and inefficient uses of copy_string 2023-11-03 15:25:38 +01:00
SerialTypes.h Reformat Zeek in Spicy style 2023-10-30 09:40:55 +01:00