Opened 9 years ago
Closed 5 years ago
#8630 closed Bugs (fixed)
uuid string generator accepts invalid uuids
Reported by: | Owned by: | Andy Tompkins | |
---|---|---|---|
Milestone: | Boost 1.66.0 | Component: | uuid |
Version: | Boost 1.53.0 | Severity: | Problem |
Keywords: | uuid string generator | Cc: |
Description
I've tried stream operator and string generator to convert string into uuids.
But the string generator one accepts some incorrect uuid representation.
For example, with the following strings:
- "0000-0000-0000-0000-000000000000"
- "------------------------------------"
String generator accepts but produce strange content, but stream operator will refuse them.
Maybe it's better to throw exception in such case?
To tell user such string is not a correct uuid representation.
Change History (3)
comment:1 by , 8 years ago
comment:3 by , 5 years ago
Milestone: | To Be Determined → Boost 1.66.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I think
should be