Closed dg0yt closed 5 months ago
Ensure that export texts are always terminated with zero. Prevent unpaired surrogates when truncating long text. Limit imported text when terminating zero is missing. Fixes GH-2206. Alternative to GH-2208. Alternative to GH-2207.
CC @dl3sdo. #2208 didn't pass the unit test.
Ensure that export texts are always terminated with zero. Prevent unpaired surrogates when truncating long text. Limit imported text when terminating zero is missing. Fixes GH-2206. Alternative to GH-2208. Alternative to GH-2207.