Subject: bug#39207: WITH dgb symbols Re: bug#39207: 28.0.50; crash when sending gnus message

From: Eli Zaretskii <[email-masked]>
Date: Thu, 23 Jan 2020 07:54:25 +0200

It looks like the reason is that resize_string_data doesn't update the string byte and character counts in the branch where it decides that no reallocation is required.  So we get a string with correct data, but incorrect size attributes.

I'd also add an assertion there that the string is a multibyte one, since the code implicitly depends on that.