From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: Redisplay crash Date: Wed, 05 Jan 2005 22:49:01 +0100 Organization: orebokech dot com Message-ID: <874qhvmtrm.fsf@orebokech.com> References: <87llbal35x.fsf@orebokech.com> <200501040105.KAA09219@etlken.m17n.org> <87u0pwsz12.fsf@orebokech.com> <878y77mwif.fsf@orebokech.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1104962120 9978 80.91.229.6 (5 Jan 2005 21:55:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Jan 2005 21:55:20 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 05 22:55:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CmJ7M-0008FK-00 for ; Wed, 05 Jan 2005 22:55:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CmJIc-0001KS-En for ged-emacs-devel@m.gmane.org; Wed, 05 Jan 2005 17:06:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CmJIJ-0001Fb-7F for emacs-devel@gnu.org; Wed, 05 Jan 2005 17:06:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CmJIH-0001EF-Rd for emacs-devel@gnu.org; Wed, 05 Jan 2005 17:06:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CmJIH-0001Dn-BK for emacs-devel@gnu.org; Wed, 05 Jan 2005 17:06:17 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CmJ1Y-0008Fh-AS for emacs-devel@gnu.org; Wed, 05 Jan 2005 16:49:00 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CmJ1X-0001k8-00 for ; Wed, 05 Jan 2005 22:48:59 +0100 Original-Received: from yeast.orebokech.com ([82.67.41.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Jan 2005 22:48:59 +0100 Original-Received: from romain by yeast.orebokech.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Jan 2005 22:48:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 15 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: yeast.orebokech.com Mail-Copies-To: nobody X-Face: "1+OIb}NK>vxR1ZMk[Jx!/]O|A-v/P&|%hFquLxp20W.'g4KNUD/IdAUSmd'5`f)Q9%"4]%{P`TF2dC4v1~G5D}S( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:PyNgdpQpJig6899SQmZiZTp6woA= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:31924 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31924 Romain Francoise writes: > The following bcopy call then writes way more than that, overflowing > the buffer and overwriting the libc memory block pointers and thus > making the next call to xrealloc (needed because the size was set to > something too small for what we have to decode) fail. Forget that, it's probably not the bcopy call that's doing it since it doesn't write more than SBYTES (string) bytes. But the pointers *do* get hosed one way or another... -- Romain Francoise | Why did you kill that poor it's a miracle -- http://orebokech.com/ | old man, melody? She said, | "He was never good to me"