h33p / vmread

A library to read/write memory to Windows on KVM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Infinite loop regression.

vldr opened this issue · comments

commented

Hi,

I've encountered a strange infinite loop regression when finding module information for the "svchost.exe" process. (Guest: Windows 10 1909)

I've pinned it down to this section of code. FillModuleInfo64 sets the head to 0x0 and an infinite loop occurs.
https://github.com/Heep042/vmread/blob/master/wintools.c#L677

A temporary "fix" would be to limit the number iterations if the head becomes null.

Thanks.

commented

prev was supposed to be used to tackle this particular issue, but it appears to be unused. I will push a fix soon.

commented

Should be fixed in 49a0027 thanks for reporting