Quantumv2 api didn't check string parameter length
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Won't Fix
|
Low
|
Jiajun Liu |
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 000000000000000
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | 38ee91a2-
| name | 000000000000000
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 44d16a5d952a42b
+------
2. However only 255 chars registered.
'_': quantum net-list [~/devstack]
+------
| admin_state_up | id | name | shared | status | subnets | tenant_id |
+------
| True | 38ee91a2-
| True | b437938e-
+------
'
Changed in quantum: | |
assignee: | nobody → ljjjustin (ljjjustin) |
tags: | added: low-hanging-fruit |
depending on how simple and low risk the fix is, we can consider this for folsom.