mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
BIT-1544: allow NULs in file analysis handles
This commit is contained in:
parent
f336c8c710
commit
05b10fe2e7
5 changed files with 22 additions and 5 deletions
|
@ -70,7 +70,8 @@ public:
|
|||
|
||||
/**
|
||||
* Creates a file identifier from a unique file handle string.
|
||||
* @param handle a unique string which identifies a single file.
|
||||
* @param handle a unique string (may contain NULs) which identifies
|
||||
* a single file.
|
||||
* @return a prettified MD5 hash of \a handle, truncated to *bits_per_uid* bits.
|
||||
*/
|
||||
string HashHandle(const string& handle) const;
|
||||
|
@ -78,7 +79,8 @@ public:
|
|||
/**
|
||||
* Take in a unique file handle string to identify next piece of
|
||||
* incoming file data/information.
|
||||
* @param handle a unique string which identifies a single file.
|
||||
* @param handle a unique string (may contain NULs) which identifies
|
||||
* a single file.
|
||||
*/
|
||||
void SetHandle(const string& handle);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue