Article View: alt.privacy.anon-server
Article #47061Re: The triumph of Richard Heathfield, was: The demise of Richard Heathfield
From: Thomas J. Boschloo
Date: Sat, 16 Nov 2002 17:03
Date: Sat, 16 Nov 2002 17:03
61 lines
3697 bytes
3697 bytes
Bryan Olson wrote:
>
> Thomas J. Boschloo wrote:
> > Richard Heathfield wrote:
>
> >>int GetWord(string &word, FILE *fp)
> >>{
> >> int result = 0;
> >>
> >> int ch;
> >>
> >> word = "";
> >>
> >> /* skip leading spaces */
> >> do
> >> {
> >> ch = fgetc(fp);
> >> } while(ch != EOF && isspace((unsigned char)ch));
> >>
> >> if(ch != EOF)
> >> {
> >> do
> >> {
> >> word += ch;
> >> ch = fgetc(fp);
> >> } while(ch != EOF &&
> >> (isalpha((unsigned char)ch) ||
> >> '\'' == ch ||
> >> '-' == ch));
> >> }
> >>
> >> if(EOF == ch)
> >> {
> >> result = 1;
> >> }
> >>
> >> return result;
> >>}
> >
> >
> > I think I see an unchecked buffer here, so I assume the whole post is a
> > nut post to paraphrase your own words.
>
> You think wrong. Perhaps you are unaware how the string class in
> the C++ standard library works. Chalk another one up for Richard.
You want a taste of me too Bryan? All right, by 'works' do you mean 'is
defined' or 'is implemented'. And if you mean 'is implemented', does
that mean that the C++ string object dynamically grows and shrinks the
size of an array like it should? If so, what does string.resize(128) do
which I thought I saw somewhere else in the code? I know I am just
nitpicking, but you obviously have no clue either.. I wonder why I even
keep reading sci.crypt, maybe for the crypto-stuff but I am not sure. I
have seen a lot of lameness in this group this year and with Bruce and
Bob gone, well, what is this group worth anyways these days??
Please help me find out,
Thomas
--
Mess with the best, die like the rest - Hackers
T.J. Boschloo <home.hccnet.nl/t.j.boschloo>
Technical Details
Message-ID:
<3DD67A76.34110F39@hccnet.nl.invalid>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!195.129.110.18.MISMATCH!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!news.hccnet.nl!not-for-mailReferences:
<3DC1596C.6D2B55BD@hccnet.nl.invalid> <3DC526FC.CBCFE9B6@hccnet.nl.invalid> <3DC5451F.DBF3CDDA@eton.powernet.co.uk> <pan.2002.11.03.17.05.02.482162@yahoo.co.uk> <3DC81975.45915377@hccnet.nl.invalid> <3DC85EA2.2C8E26DA@earthlink.net> <3DC95533.512AB0A3@hccnet.nl.invalid> <3DC976DA.32815A18@earthlink.net> <3DCBC0A8.F3785708@hccnet.nl.invalid> <3DCC0E5A.4C70F9F@eton.powernet.co.uk> <3DCD229B.1F302611@hccnet.nl.invalid> <3DCD3356.EBE0DD11@eton.powernet.co.uk> <3DD2955F.61C2149@hccnet.nl.invalid> <KNwA9.1284$pg4.27042958@newssvr14.news.prodigy.com>Show Full Headers
Complete Article Headers
Message-ID: <3DD67A76.34110F39@hccnet.nl.invalid> Subject: Re: The triumph of Richard Heathfield, was: The demise of Richard Heathfield Date: Sat, 16 Nov 2002 18:03:50 +0100 From: "Thomas J. Boschloo" <nospam@hccnet.nl.invalid> References: <3DC1596C.6D2B55BD@hccnet.nl.invalid> <3DC526FC.CBCFE9B6@hccnet.nl.invalid> <3DC5451F.DBF3CDDA@eton.powernet.co.uk> <pan.2002.11.03.17.05.02.482162@yahoo.co.uk> <3DC81975.45915377@hccnet.nl.invalid> <3DC85EA2.2C8E26DA@earthlink.net> <3DC95533.512AB0A3@hccnet.nl.invalid> <3DC976DA.32815A18@earthlink.net> <3DCBC0A8.F3785708@hccnet.nl.invalid> <3DCC0E5A.4C70F9F@eton.powernet.co.uk> <3DCD229B.1F302611@hccnet.nl.invalid> <3DCD3356.EBE0DD11@eton.powernet.co.uk> <3DD2955F.61C2149@hccnet.nl.invalid> <KNwA9.1284$pg4.27042958@newssvr14.news.prodigy.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!195.129.110.18.MISMATCH!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!news.hccnet.nl!not-for-mail Newsgroups: alt.privacy.anon-server,sci.crypt,alt.fan.cult-dead-cow,alt.security.pgp Organization: Hobby Computer Club News Network Lines: 62 NNTP-Posting-Host: uds180-35.dial.hccnet.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.hccnet.nl 1037466442 19274 62.251.35.180 (16 Nov 2002 17:07:22 GMT) X-Complaints-To: abuse@hccnet.nl NNTP-Posting-Date: Sat, 16 Nov 2002 17:07:22 +0000 (UTC) Cancel-Lock: sha1:xfYFtVwTEpYLgTHUNZ6PwLeNBR4= X-Mailer: Mozilla 4.8 [en] (Win98; U) X-Accept-Language: en,nl,de X-NFilter: 1.2.1-b1