Re: ATL bug - atlrx.h
- From: David Lowndes <davidl@xxxxxxxxxxxxxxx>
- Date: Thu, 26 May 2005 22:33:42 +0100
>There is a bug in atlrx.h near line 640, the passage below shows the bug.
>Applies for VS .NET 2002 and 2003.
Roman,
FWIW, this code has been changed for VS2005 B2, so maybe MS were aware
of it and have fixed it. Anyhow, the code is currently this:
case RE_RANGE:
{
if (*sz == '\0')
{
ip = (size_t) pContext->Pop();
break;
}
RECHAR *pBits = reinterpret_cast<RECHAR
*>((&m_Instructions[ip]+1));
size_t u = CharTraits::GetBitFieldForRangeArrayIndex(sz);
if (pBits[u >> 3] & 1 << (u & 0x7))
{
ip += InstructionsPerRangeBitField();
ip++;
sz = CharTraits::Next(sz);
}
else
{
ip = (size_t) pContext->Pop();
}
}
break;
Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
.
- References:
- ATL bug - atlrx.h
- From: Roman Ryltsov
- ATL bug - atlrx.h
- Prev by Date: ATL bug - atlrx.h
- Next by Date: non-expandable tree
- Previous by thread: ATL bug - atlrx.h
- Next by thread: non-expandable tree
- Index(es):
Relevant Pages
|