From b091e32be0004b071db73e8c85cecc3b13da8ccb Mon Sep 17 00:00:00 2001 From: "SND\\EreTIk_cp" Date: Fri, 18 Feb 2011 10:43:35 +0000 Subject: [PATCH] [~] fixed: infinity loop on x32, if passed into typedVarList() address is not cast to addr64-format. condition in for(): entryAddress != address git-svn-id: https://pykd.svn.codeplex.com/svn@61625 9b283d60-5439-405e-af05-b73fd8c4d996 --- pykd/dbgtype.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pykd/dbgtype.cpp b/pykd/dbgtype.cpp index c51b9e4..5a93ea9 100644 --- a/pykd/dbgtype.cpp +++ b/pykd/dbgtype.cpp @@ -97,7 +97,8 @@ loadTypedVarList( ULONG64 address, const std::string &moduleName, const std::str ULONG64 entryAddress = 0; boost::python::list objList; - + + address = addr64(address); for( entryAddress = loadPtrByPtr( address ); entryAddress != address && entryAddress != NULL; entryAddress = loadPtrByPtr( entryAddress ) ) { objList.append( containingRecord( entryAddress, moduleName, typeName, listEntryName ) );