Fix a small poor implementation in SMB string handling.

This commit is contained in:
Seth Hall 2016-06-20 16:23:49 -04:00
parent 8eb67a0a6c
commit 0e49b9ef98

View file

@ -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];