Article View: gnu.emacs.bug
Article #99105format idiot checks
From: LUSYSNZ
Date: Fri, 26 Oct 1990 21:38
Date: Fri, 26 Oct 1990 21:38
30 lines
1992 bytes
1992 bytes
Relay-Version: VMS News - V5.9C 19/12/89 VAX/VMS V5.3; site vax1.cc.lehigh.edu Path: vax1.cc.lehigh.edu!vax1.cc.lehigh.edu!netnews.upenn.edu!rutgers!bionet!ucselx!usc!zaphod.mps.ohio-state.edu!rpi!bu.edu!att!tut.cis.ohio-state.edu!UHURA.CC.ROCHESTER.EDU!rbr4 Newsgroups: gnu.emacs.bug Subject: format idiot checks Message-ID: <9969@ur-cc.UUCP> From: rbr4@UHURA.CC.ROCHESTER.EDU (Roland Roberts) Date: 20 Oct 90 08:32:42 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: University of Rochester, Rochester NY Summary: format will accept stupid field sizes that crash emacs Approved: bug-gnu-emacs@prep.ai.mit.edu Lines: 16 GNU Emacs 18.55 on vax-vms Try (format "%90d" 24). The result is an "Improperly handled condition, Image Exit Forced" followed by register dump. I think the origin of the problem lies in doprnt.c which uses a temporary buffer for output from sprintf. The tmpbuf is declared as `char tmpbuf[80]' which seems a bit small, particularly since the temporary buffer used in print.c is 300 characters. roland -- Roland Roberts, University of Rochester BITNET: roberts@uornsrl Nuclear Structure Research Lab INTERNET: rbr4@uhura.cc.rochester.edu 271 East River Road UUCP: rochester!ur-cc!rbr4 Rochester, NY 14267 AT&T: (716) 275-8962
Technical Details
Message-ID:
<138E297F111F800042@VAX1.CC.LEHIGH.EDU>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!rutgers!tut.cis.ohio-state.edu!VAX1.CC.LEHIGH.EDU!LUSYSNZShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,ba9c3d96068774b6,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-10-26 14:38:00 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!rutgers!tut.cis.ohio-state.edu!VAX1.CC.LEHIGH.EDU!LUSYSNZ From: LUSYSNZ@VAX1.CC.LEHIGH.EDU Newsgroups: gnu.emacs.bug Subject: format idiot checks Message-ID: <138E297F111F800042@VAX1.CC.LEHIGH.EDU> Date: 26 Oct 90 21:38:00 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: Gnus Not Usenet Lines: 30 Approved: bug-gnu-emacs@prep.ai.mit.edu Posted: Fri Oct 26 22:38:00 1990