You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow scripts to support null characters again (#1984)
We made a change during the refactoring of the engine changes that used
a strlen on an SDS string. SDS are resizable, but they are binary safe
and support NULL characters, which means we are truncating the string at
the null character.
This is a breaking change for modules, so wanted to raise it for the
upcoming patch.
An alternative is we could expose the script code as a server object,
which would require some construction of the object in the function
pathway and freeing. I opted to keep the code flow as similar as
possible for the patch.
There is a test which only passes now.
For some reasons, functions don't support binary data. So as of right
now this patch doesn't fix that case.
Resolves#1942
---------
Signed-off-by: Madelyn Olson <[email protected]>
0 commit comments