jdblair / sunspec

Sunspec Reference Implementation and Test Tool
Other
21 stars 5 forks source link

invalid model file causes segfault when that model is read #6

Open jdblair opened 12 years ago

jdblair commented 12 years ago

If a model file is invalid due to an incorrect type field, reading that did causes a segfault.

I think the problem is that there is a partial model stored in the internal representation. The did is added to the did index, but then there is an incomplete data point list.