Article View: gnu.emacs.bug
Article #99215format idiot checks
From: Roland Roberts
Date: Sat, 20 Oct 1990 08:32
Date: Sat, 20 Oct 1990 08:32
17 lines
1495 bytes
1495 bytes
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:
<9969@ur-cc.UUCP>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!ns-mx!iowasp.physics.uiowa.edu!maverick.ksu.ksu.edu!zaphod.mps.ohio-state.edu!rpi!bu.edu!att!tut.cis.ohio-state.edu!UHURA.CC.ROCHESTER.EDU!rbr4Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,e470e4b6e7bc0e35,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-10-20 01:32:42 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!ns-mx!iowasp.physics.uiowa.edu!maverick.ksu.ksu.edu!zaphod.mps.ohio-state.edu!rpi!bu.edu!att!tut.cis.ohio-state.edu!UHURA.CC.ROCHESTER.EDU!rbr4 From: rbr4@UHURA.CC.ROCHESTER.EDU (Roland Roberts) Newsgroups: gnu.emacs.bug Subject: format idiot checks Summary: format will accept stupid field sizes that crash emacs Message-ID: <9969@ur-cc.UUCP> Date: 20 Oct 90 08:32:42 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: University of Rochester, Rochester NY Lines: 17 Approved: bug-gnu-emacs@prep.ai.mit.edu Posted: Sat Oct 20 09:32:42 1990