Description

At line 610 in Linker.cpp, the following declaration is made:

UPackage* FilenamePkg = (ExistingPackage ? ExistingPackage : CreatePackage(nullptr, *PackageNameToCreate));
     if (FilenamePkg != ExistingPackage && (LoadFlags & LOAD_PackageForPIE))
     {
         FilenamePkg->SetPackageFlags(PKG_PlayInEditor);
     }

FilenamePkg is used and then later tested against nullptr, although CreatePackage can return a nullptr if a null or "none" name is provided.

Steps to Reproduce

N/A Code issue

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Foundation - Core
Affects Versions4.134.14
Target Fix4.15
Fix Commit3186670
Main Commit3208270
CreatedNov 3, 2016
ResolvedNov 4, 2016
UpdatedApr 27, 2018
View Jira Issue