]> git.eshelyaron.com Git - emacs.git/commit
Fix crash when sending Gnus message (Bug#39207)
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Jan 2020 07:43:29 +0000 (23:43 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Jan 2020 07:44:34 +0000 (23:44 -0800)
commit6f580542c1796d3e7ba4d1dd40b2fe73fe00e5db
treeed853d4d27a2f231d7fe13a4affb723d0ce28eeb
parent5715eb94e90b33ace59dd4c4ccb6e2122bc6db72
Fix crash when sending Gnus message (Bug#39207)

* src/alloc.c (resize_string_data): The string must be multibyte.
When not bothering to reallocate, do bother to change the byte count.
* test/src/alloc-tests.el (aset-nbytes-change) New test.
src/alloc.c
test/src/alloc-tests.el