🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98772

Bug in Emacs 18.57 xdisp.c / display_text_line()

#98772
From: Roland Bergler
Date: Wed, 10 Apr 1991 10:07
20 lines
1599 bytes
I think i found a bug in emacs.18.57,
I'm running SCO unix V r3.vr2 on an 386 using gcc1.39.

consider a line containing a character code >\200 at a position near
the end of line, with the display "\xxx" overlapping the end of line.
It is possible that display_text_line will overwrite the terminating 0
character at the position behind the line, which isn't set to 0 again.
This will destroy the state that the character before the next line
has to be 0, an assumption made by function update_line(), where
obody[-1] has to be 0.

Im not shure, why i cant reproduce this bug for sure, but a good way
to get the effect is to edit a binary file, i.e. translated emacs or
..o - file, and then scroll around for a little while.

I didnt fix the bug till now, 'cause I'm quite shure that you will
have a much better solution than me. Could you please send me a fix???

thanx in advance
roland
Technical Details
Message-ID: <9104101007.AA06620(a)kiss.informatik.tu-muenchen.de>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!dg-rtp!rock.concert.net!mcnc!stanford.edu!decwrl!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,38a0b0ce352b54de,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-04-10 03:07:00 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!dg-rtp!rock.concert.net!mcnc!stanford.edu!decwrl!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage
From: bergler@informatik.tu-muenchen.dbp.de (Roland Bergler)
Newsgroups: gnu.emacs.bug
Subject: Bug in Emacs 18.57 xdisp.c / display_text_line()
Message-ID: <9104101007.AA06620(a)kiss.informatik.tu-muenchen.de>
Date: 10 Apr 91 10:07:00 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 20
Approved: bug-gnu-emacs@prep.ai.mit.edu