hrydgard/ppsspp — pull request #1985 by lioncash (2013-05-30 15:56:44+00:00)
Title: Fix a resource leak and possible unintentionally executed code.

Resource leak in Loaders.cpp in the case readSize doesn't equal 1.

Before it would simply return the error value, but wouldn't close the FILE instance.

-

At line 2935 in sceKernelThread, there is a null check on the variable "target", however there is a case in the method where it assumes it would not be null.