Changed UTF-16 to UTF-8 conversion to be more lenient.

- This seems to solve the occasional problems with strings not
   getting converted.
This commit is contained in:
Seth Hall 2015-03-05 02:30:32 -05:00
parent d59d0b57c1
commit b4e3fbc9e7

View file

@ -22,7 +22,7 @@ refine flow RDP_Flow += {
sourceend, sourceend,
&targetstart, &targetstart,
targetend, targetend,
strictConversion); lenientConversion);
if ( res != conversionOK ) if ( res != conversionOK )
{ {
connection()->bro_analyzer()->Weird("Failed UTF-16 to UTF-8 conversion"); connection()->bro_analyzer()->Weird("Failed UTF-16 to UTF-8 conversion");