|
From: | Paul Eggert |
Subject: | bug#42832: 28.0.50; "Bus error" when compiling Emacs now on Debian bullseye |
Date: | Fri, 14 Aug 2020 14:48:53 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Thanks for working on this and writing a fix for this obscure bug. A couple of minor thoughts on the patch. We can avoid copying bitmaps by swapping pointers to them.There are now two opportunities for calloc to fail, and we leak memory if the second one fails. A simple fix is to call calloc once and split the result in half.
Proposed patch attached.
0001-Fix-bus-error-on-Debian-bullseye.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |