mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Fix a small poor implementation in SMB string handling.
This commit is contained in:
parent
8eb67a0a6c
commit
0e49b9ef98
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ function extract_string(s: SMB_string) : StringVal
|
|||
const char* sp;
|
||||
bool ascii = true;
|
||||
|
||||
if ( s->val_case_index() == 0 )
|
||||
if ( s->unicode() == 0 )
|
||||
{
|
||||
length = s->a()->size();
|
||||
char *buf = new char[length];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue