actions (in xlate_actions__) would be NULL when xlate_actions()
is called from packet_out()->ofproto_dpif_execute_actions().
This causes a NULL pointer to be dereferenced when
ctx.xbridge->netflow is set.
Signed-off-by: Anoob Soman <anoob.soman@citrix.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Andy Hill hillad@gmail.com
Andy Southgate andy.southgate@citrix.com
Andy Zhou azhou@nicira.com
+Anob Soman anoob.soman@citrix.com
Ansis Atteka aatteka@nicira.com
Anupam Chanda achanda@nicira.com
Arun Sharma arun.sharma@calsoftinc.com
ctx.xin->resubmit_stats->n_bytes);
if (ctx.xbridge->netflow) {
- const struct ofpact *ofpacts;
- size_t ofpacts_len;
-
- ofpacts_len = actions->ofpacts_len;
- ofpacts = actions->ofpacts;
if (ofpacts_len == 0
|| ofpacts->type != OFPACT_CONTROLLER
|| ofpact_next(ofpacts) < ofpact_end(ofpacts, ofpacts_len)) {