In for loop, separating the variables in if condition is not the
way to compare the conditions (If comma separated only the last
specified condition gets executed). This is not desirable, because
terator it can point to results from MessageTableIndex queries and
jt can point to resultss from ObjectTable and their dimensionality
is not same and this can result in crash.
Closes-Bug:#1675598
Change-Id: I8af6ef7166900ea4705715fd317d2655d2c3b984
(cherry picked from commit 742650719518b26b6d9bf7e4d43d8599ae5ff498)
Reviewed: https:/ /review. opencontrail. org/29990 github. org/Juniper/ contrail- controller/ commit/ 19e95440fdbe5db c8c37f42e0c2bd9 bc1a12eff3
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit 19e95440fdbe5db c8c37f42e0c2bd9 bc1a12eff3
Author: arvindvis <email address hidden>
Date: Wed Mar 29 20:14:23 2017 -0700
In for loop, separating the variables in if condition is not the
way to compare the conditions (If comma separated only the last
specified condition gets executed). This is not desirable, because
terator it can point to results from MessageTableIndex queries and
jt can point to resultss from ObjectTable and their dimensionality
is not same and this can result in crash.
Closes-Bug:#1675598
Change-Id: I8af6ef7166900e a4705715fd317d2 655d2c3b984 b6d9bf7e4d43d85 99ae5ff498)
(cherry picked from commit 742650719518b26