Closed kahoooo closed 2 years ago
Just stumble upon this bug that is only triggered for decaying turbulence (turb_flag == 1). When turb_flag == 1, fv_new_ would be pointing to random address and the destructor of TurbulenceDriver would attempt to access and free fv_new_[nv].
turb_flag == 1
fv_new_
TurbulenceDriver
fv_new_[nv]
Just stumble upon this bug that is only triggered for decaying turbulence (turb_flag == 1). When
turb_flag == 1
,fv_new_
would be pointing to random address and the destructor ofTurbulenceDriver
would attempt to access and freefv_new_[nv]
.