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
leaves a lot of fields undefined, including many pointer fields that are probably best to explicitly set to C_NULL
Julia does not zero-initialize plain data fields, so these contain garbage data. For example, if someone fails to initialize one of these pointers, it's probably best to guarantee you'll get a NULL pointer de-reference, rather than accessing random memory.
The text was updated successfully, but these errors were encountered:
The constructor here:
FMIBase.jl/src/FMI3/struct.jl
Lines 474 to 478 in 2a30f63
leaves a lot of fields undefined, including many pointer fields that are probably best to explicitly set to
C_NULL
Julia does not zero-initialize plain data fields, so these contain garbage data. For example, if someone fails to initialize one of these pointers, it's probably best to guarantee you'll get a NULL pointer de-reference, rather than accessing random memory.
The text was updated successfully, but these errors were encountered: