yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00371
[Bug 1044129] Re: Quantumv2 api didn't check string parameter length
This has already been fixed by:
commit 5dbb4046637462bdcb04acc8f4cbebf8db480f35
Author: Gary Kotton <gkotton@xxxxxxxxxx>
Date: Mon Oct 8 05:58:00 2012 +0000
Ensure that HTTP 400 codes are returned for invalid input
Fixes bug 1062046
A number of additional validation functions were added. They
do basic validations.
Change-Id: I0fc207e996f11b50fdaa4d80075ae5704cba7003
** Changed in: quantum
Status: Confirmed => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1044129
Title:
Quantumv2 api didn't check string parameter length
Status in OpenStack Quantum (virtual network service):
Won't Fix
Bug description:
Quantumv2 api didn't check string parameter length
1. create network name which has 255 0's and some 1.
It looks created.
'_': quantum net-create 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111
Created a new network:
+----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up | True |
| id | 38ee91a2-b199-45de-be62-9c440c957668 |
| name | 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111 |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 44d16a5d952a42b7a8932a5c002a1095 |
+----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2. However only 255 chars registered.
'_': quantum net-list [~/devstack]
+----------------+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------+--------+--------------------------------------+----------------------------------+
| admin_state_up | id | name | shared | status | subnets | tenant_id |
+----------------+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------+--------+--------------------------------------+----------------------------------+
| True | 38ee91a2-b199-45de-be62-9c440c957668 | 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | False | ACTIVE | | 44d16a5d952a42b7a8932a5c002a1095 |
| True | b437938e-051b-437f-971d-b67640fcf2a1 | net1 | False | ACTIVE | 66c1bd0a-417f-48e6-8f0b-40aca2a4c3f3 | 44d16a5d952a42b7a8932a5c002a1095 |
+----------------+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------+--------+--------------------------------------+----------------------------------+
'
To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1044129/+subscriptions