Bug in IdEMailAddress.pas

Giganews Newsgroups
Subject: Bug in IdEMailAddress.pas
Posted by:  Hardy Griech (reinhard.grie…@pcm.endress.com)
Date: Mon, 18 Aug 2003

Hi Indy maintainers,

small missing initialization bug in Indy9:

function TIdEMailAddressItem.ConvertAddress : String;
:
  // First work backwards to the @ sign.
  tempAddress := FAddress;
  domainPart  := '';
  for i := length(FAddress) downto 1 do
:

The bug shows up, if FAddress does not contain any '@'.

Hardy

Replies