(Oh! For some reason I am not getting all of the bug mail from Launchpad. At least: I missed notifications about this bug.)
Hm... It seems that free() on Ubuntu checks that nothing was written outside of the allocated space? Does malloc() put a "canary" at the tail?
Anyway, I am pretty sure that the patch attached to bug #1641592 will fix this crash. It is same patch as the second one attached to https://lists.gnu.org/archive/html/nano-devel/2016-04/msg00075.html, which was applied upstream nearly a year ago.
(Oh! For some reason I am not getting all of the bug mail from Launchpad. At least: I missed notifications about this bug.)
Hm... It seems that free() on Ubuntu checks that nothing was written outside of the allocated space? Does malloc() put a "canary" at the tail?
Anyway, I am pretty sure that the patch attached to bug #1641592 will fix this crash. It is same patch as the second one attached to https:/ /lists. gnu.org/ archive/ html/nano- devel/2016- 04/msg00075. html, which was applied upstream nearly a year ago.