mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-29 20:03:33 +08:00
[!] bug fixed: issue #7164 ( loadTypedVarList can fall in infinite loop )
git-svn-id: https://pykd.svn.codeplex.com/svn@55067 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
eba80f2426
commit
eff19ff608
@ -251,7 +251,7 @@ loadTypedVarList( ULONG64 address, const std::string &moduleName, const std::str
|
|||||||
|
|
||||||
boost::python::list objList;
|
boost::python::list objList;
|
||||||
|
|
||||||
for( entryAddress = loadPtrByPtr( address ); entryAddress != address; entryAddress = loadPtrByPtr( entryAddress ) )
|
for( entryAddress = loadPtrByPtr( address ); entryAddress != address && entryAddress != NULL; entryAddress = loadPtrByPtr( entryAddress ) )
|
||||||
{
|
{
|
||||||
objList.append( containingRecord( entryAddress, moduleName, typeName, listEntryName ) );
|
objList.append( containingRecord( entryAddress, moduleName, typeName, listEntryName ) );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user