Commit f9e64e81 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Don't get caught in loops on parent progids.

parent a12897b8
......@@ -4565,7 +4565,8 @@ static INT load_progid(MSIPACKAGE* package, MSIRECORD *row)
package->progids[index].ParentIndex != index)
{
int pindex = package->progids[index].ParentIndex;
while (package->progids[pindex].ParentIndex>= 0)
while (package->progids[pindex].ParentIndex>= 0 &&
package->progids[pindex].ParentIndex != pindex)
pindex = package->progids[pindex].ParentIndex;
FIXME("BAD BAD need to determing if we are really the CurVer\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment