yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #09568
[Bug 1278939] [NEW] Insufficient upper bounds checking performed on flavor-create API
Public bug reported:
The fix for bug #1243195 added upper-bound checking for flavor fields
based on sys.maxint. The problem is that the value of maxint varies by
platform (either 32- or 64-bit signed integers), while the INTEGER type
in databases is limited to 32-bit signed integers. This means that the
upper-bound checking does not work on platforms where sys.maxint returns
the maximum value of a 64-bit signed integer. The original reported
problems (as shown in http://paste.openstack.org/show/48988/) persist on
64-bit platforms.
** Affects: nova
Importance: Undecided
Status: New
** Tags: api db
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1278939
Title:
Insufficient upper bounds checking performed on flavor-create API
Status in OpenStack Compute (Nova):
New
Bug description:
The fix for bug #1243195 added upper-bound checking for flavor fields
based on sys.maxint. The problem is that the value of maxint varies
by platform (either 32- or 64-bit signed integers), while the INTEGER
type in databases is limited to 32-bit signed integers. This means
that the upper-bound checking does not work on platforms where
sys.maxint returns the maximum value of a 64-bit signed integer. The
original reported problems (as shown in
http://paste.openstack.org/show/48988/) persist on 64-bit platforms.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1278939/+subscriptions
Follow ups
References