You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In params.h and params.cpp the freezeout path sSurface and the output directory sSpectraDir are both stored as C style char strings with a fixed number of characters. This may lead to buffer overflow.
It is safer to swich to the more C++ style std::string class for both paths. Then the calls in params.cpp void readRarams(char* filename) need to be adjusted accordingly to something like:
In
params.h
andparams.cpp
the freezeout pathsSurface
and the output directorysSpectraDir
are both stored as C style char strings with a fixed number of characters. This may lead to buffer overflow.It is safer to swich to the more C++ style
std::string
class for both paths. Then the calls in params.cppvoid readRarams(char* filename)
need to be adjusted accordingly to something like:The text was updated successfully, but these errors were encountered: