Skip to content
  • Julian Helfferich's avatar
    Fix Coverity #76255: Calling risky function · 12860515
    Julian Helfferich authored
    When loading a plain text replay file, fscanf() was used. The use of
    this function is discouraged as it can lead to buffer overflows if the
    string read is larger than the reserved buffer.
    
    Now, the C-style functions are replaced with their C++ equivalents.
    This means the data is read from an ifstream and stored to a string via
    an istringstream.
    12860515