🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98728

Bug in the format function

#98728
From: Dale Worley
Date: Wed, 20 Mar 1991 20:47
18 lines
1095 bytes
When format is processing a %s formatting specification, it truncates
the argument string at the first NUL found, if the argument string
contains a NUL.

Emacs version: 18.53.

To reproduce:

Evaluate: (format "abc%s" "d\000ef")
Result:   "abc"

Dale

Dale Worley		Compass, Inc.			worley@compass.com
--
I was recently stricken with the Ultimate Epistemological Eit:
"Am I overanalyzing?  What if I'm overanalyzing?"
-- zonker
Technical Details
Message-ID: <9103202047.AA10532@sn1987a.compass.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,6da6caba527dcc29,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-03-20 12:47:04 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: worley@compass.com (Dale Worley)
Newsgroups: gnu.emacs.bug
Subject: Bug in the format function
Message-ID: <9103202047.AA10532@sn1987a.compass.com>
Date: 20 Mar 91 20:47:04 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 18
Approved: bug-gnu-emacs@prep.ai.mit.edu