Coverity issues in controller/src/db

Bug #1772902 reported by Andrei Bunghez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
Undecided
Unassigned
Trunk
Fix Committed
Undecided
Unassigned
OpenContrail
New
Undecided
Unassigned

Bug Description

Hi all,

contrail-controller R5.0
Coverity reports the following security issues in controller/src/db:

db_table.h: in db_walker_wait: Integer overflowed argument/Untrusted value as argument (56957/59776)
db_table_walker.cc: in db_walker_wait: Integer overflowed argument/Untrusted value as argument (67467/67618)
db_table_walker.h: in GetIterationToYield: Overflowed return value (57027)

Cheers,
Andrei

description: updated
description: updated
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/43245
Submitter: Andrei Bunghez (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/43246
Submitter: Andrei Bunghez (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/43245
Committed: http://github.com/Juniper/contrail-controller/commit/8cd02c3b8d811e21cfdfd8a30f0311c5b1c093cb
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 8cd02c3b8d811e21cfdfd8a30f0311c5b1c093cb
Author: Andrei Bunghez <email address hidden>
Date: Wed May 23 12:40:16 2018 +0000

Coverity security issue in controller/src/db

db_table.h: in db_walker_wait: Integer overflowed argument/Untrusted value as argument (56957/59776)
db_table_walker.cc: in db_walker_wait: Integer overflowed argument/Untrusted value as argument (67467/67618)
db_table_walker.h: in GetIterationToYield: Overflowed return value (57027)

Change-Id: I91124c7e2459d53e71b181e7f3a4ea415b0f29d1
Closes-Bug: #1772902

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/43246
Committed: http://github.com/Juniper/contrail-controller/commit/68fc691199350afe56efd172771881a7bb9f13dd
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 68fc691199350afe56efd172771881a7bb9f13dd
Author: Andrei Bunghez <email address hidden>
Date: Wed May 23 12:40:16 2018 +0000

Coverity security issue in controller/src/db

db_table.h: in db_walker_wait: Integer overflowed argument/Untrusted value as argument (56957/59776)
db_table_walker.cc: in db_walker_wait: Integer overflowed argument/Untrusted value as argument (67467/67618)
db_table_walker.h: in GetIterationToYield: Overflowed return value (57027)

Change-Id: I91124c7e2459d53e71b181e7f3a4ea415b0f29d1
Closes-Bug: #1772902

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.