Announcement

Collapse
No announcement yet.

Bug in LinuxPlatformMisc.cpp

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bug in LinuxPlatformMisc.cpp

    The function FString FLinuxPlatformMisc::GetOperatingSystemId() has no default behavior and returns an invalid value under certain circumstances.

    Specifically if there is no /etc/machine-id file, which there is not in for instance a docker container, the return at the end returns junk as the result of 'CachedResult' (unless an uninitialized FSTRING is considered valid).

    Possibly have the system generate a fake system GUID in the instance that it doens't find one so this value is always valid?
    Last edited by Wildcarde; 06-06-2015, 12:04 AM.
Working...
X