Skip to content

Commit

Permalink
Fix a possible segfault in project manager due to uninitialized varia…
Browse files Browse the repository at this point in the history
…ble (Debian bug #880853).
  • Loading branch information
Tobias Hansen committed Sep 16, 2018
1 parent 5659efa commit d601ab7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GTK_Dev_Kit/SludgeProjectManager.cpp
Expand Up @@ -57,6 +57,7 @@ SludgeProjectManager::SludgeProjectManager()
{
if (!initSuccess) return;

numResources = 0;
resourceList[0] = NULL;
fileList[0] = NULL;

Expand Down

0 comments on commit d601ab7

Please sign in to comment.