Fix parsing of MySQL NUL Strings, where we now require it to have a NUL value at the end.

We don't pass that NUL to the script layer, so we moved away from bytestring_to_val for those.
This commit is contained in:
Vlad Grigorescu 2018-10-29 15:56:51 -05:00
parent 80c7f3f4e2
commit 6144ac536f
2 changed files with 17 additions and 17 deletions

View file

@ -151,7 +151,7 @@ enum Expected {
EXPECT_AUTH_SWITCH,
};
type NUL_String = RE/[^\0]*/;
type NUL_String = RE/[^\0]*\0/;
# MySQL PDU