🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #621

mush passes string constants when it shouldn't

#621
From: James Buster
Date: Fri, 06 Nov 1992 22:22
7 lines
762 bytes
Mush passes string constants to do_pager(misc.c), when the comment above
do_pager() says specifically that you shouldn't do this. If mush is then
compiled with gcc, it will dump core because gcc puts string constants in
the text segment and mush attempts to write into them.
-- 
				James Buster
			     bitbug@netcom.com
Technical Details
Message-ID: <1992Nov6.222243.11988@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!kronos.arc.nasa.gov!iscnvx!netcomsv!netcom.com!bitbug

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.mush
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!kronos.arc.nasa.gov!iscnvx!netcomsv!netcom.com!bitbug
From: bitbug@netcom.com (James Buster)
Subject: mush passes string constants when it shouldn't
Message-ID: <1992Nov6.222243.11988@netcom.com>
Organization: Lynx Real-Time Systems, Inc.
Date: Fri, 6 Nov 1992 22:22:43 GMT
Lines: 7