🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3564

Re: crashes on char[]

#3564
From: John Gordon217-352-6511x7418CEER...
Date: Thu, 17 Jan 2002 20:46
14 lines
1373 bytes
"cal" <ccheng@cybermation.com> writes:

> Hi there,
>     My program crashes whenever I use char array, eg,

> char data[1024];

you're probably copying too many characters into the array.

post your code, and we might be able to help you further.

---
John Gordon                  "No Silicon Heaven?  Preposterous!  Where would
gordon@osiris.cso.uiuc.edu    all the calculators go?" -- Kryten, Red Dwarf
Technical Details
Message-ID: <xKG18.7544$tg4.94829@vixen.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!vixen.cso.uiuc.edu!gordon
References: <mqG18.95347$Z2.1353132@nnrp1.uunet.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,577607e3d4dd254d
X-Google-Attributes: gid11318c,public
X-Google-Thread: fc89c,577607e3d4dd254d
X-Google-Attributes: gidfc89c,public
X-Google-ArrivalTime: 2002-01-17 12:48:29 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!vixen.cso.uiuc.edu!gordon
Newsgroups: comp.unix.programmer,gnu.gcc.help
Subject: Re: crashes on char[]
References: <mqG18.95347$Z2.1353132@nnrp1.uunet.ca>
From: John Gordon,217-352-6511x7418,CEERD-CF-N <gordon@osiris.cso.uiuc.edu>
User-Agent: nn/6.6.2
Lines: 14
Message-ID: <xKG18.7544$tg4.94829@vixen.cso.uiuc.edu>
Date: Thu, 17 Jan 2002 20:46:21 GMT
NNTP-Posting-Host: 128.174.5.51
X-Complaints-To: abuse@uiuc.edu
X-Trace: vixen.cso.uiuc.edu 1011300381 128.174.5.51 (Thu, 17 Jan 2002 14:46:21 CST)
NNTP-Posting-Date: Thu, 17 Jan 2002 14:46:21 CST
Organization: University of Illinois at Urbana-Champaign