Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fixed crash on invalid hash table#61

Open
CycloneRing wants to merge 1 commit intobb107:masterbb107/MemoryModulePP:masterfrom
CycloneRing:hashtable-errorCycloneRing/MemoryModulePP:hashtable-errorCopy head branch name to clipboard
Open

Fixed crash on invalid hash table#61
CycloneRing wants to merge 1 commit intobb107:masterbb107/MemoryModulePP:masterfrom
CycloneRing:hashtable-errorCycloneRing/MemoryModulePP:hashtable-errorCopy head branch name to clipboard

Conversation

@CycloneRing
Copy link

Hi @bb107
while using mmpp I faced a crash in my application on initialization when another dll was loaded. I investigated the issue and found the root, I applied a fix that made the application work perfectly however i'm not sure what is exactly the issue however the hashtable is null. by returning in will work later. You may want to check this and make a better fix.

also there was a crash on exit from ntrtl.h which the code doesn't make sense to me

    Flink = Entry->Flink;
    Blink = Entry->Blink;
    Blink->Flink = Flink;
    Flink->Blink = Blink;

I fixed it by validation

if (!Entry) return FALSE;

And I believe it must be

    Blink->Flink = Flink;
    Flink->Blink = Blink;
    Entry->Flink = NULL;
    Entry->Blink = NULL;
  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.