Article View: borland.public.cppbuilder.internet.socket
Article #3527Re: Installing Indy9 dev snapshot
From: Remy Lebeau (TeamB)
Date: Thu, 18 Aug 2005 09:04
Date: Thu, 18 Aug 2005 09:04
25 lines
1850 bytes
1850 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:43044e0f$1@newsgroups.borland.com...
> The crash is occuring while the Subject of the message is being decoded.
> Specifically, there appears to be a logic bug in the PosIdx() function of
> the IdGlobal unit that the DecodeHeader() function of the IdCoderHeader
unit
> is tripping on for this particular example. This will need to be fixed.
As a temporary fix, you can edit the PosIdx() function of IdGlobal.pas to
change this line:
if (LenSubStr = 0) or (LenSubStr > LenS) or (AStartPos > LenS) then
begin
To this instead:
if (LenSubStr = 0) or (LenSubStr > LenS) or ((AStartPos+LenSubStr-1) >
LenS) then begin
Then recompile Indy with the change.
Gambit
Technical Details
Message-ID:
<43044f3e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4302dc69@newsgroups.borland.com> <4302f8db$1@newsgroups.borland.com> <43033215@newsgroups.borland.com> <43037cfa$1@newsgroups.borland.com> <430434cb$1@newsgroups.borland.com> <43044e0f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,24377dca02349da1 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <4302dc69@newsgroups.borland.com> <4302f8db$1@newsgroups.borland.com> <43033215@newsgroups.borland.com> <43037cfa$1@newsgroups.borland.com> <430434cb$1@newsgroups.borland.com> <43044e0f$1@newsgroups.borland.com> Subject: Re: Installing Indy9 dev snapshot Date: Thu, 18 Aug 2005 02:04:33 -0700 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <43044f3e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1124355902 68.69.17.41 (18 Aug 2005 02:05:02 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail