bertvl-netro/libfluid_msg — pull request #3 by bertvl-netro (2014-12-02 14:57:22+00:00)
Title: Bugfix: segfault with duplicate match fields.

Duplicate match fields caused a segfault in the destructor due to the
field num being present multiple times in the cur_tlvs_ vector, and the
destructor iterating over those entries and consequently deleting entries
in the oxm_tlvs_ multiple times. For reference, the destructor looks
like this:
Match::~Match() {
for (std::vector::iterator it = this->curr_tlvs_.begin();
it != this->curr_tlvs_.end(); ++it) {
delete this->oxm_tlvs_[*it];
}
}