Subject: [Boost-bugs] [Boost C++ Libraries] #8630: uuid string generator accepts invalid uuids
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-29 03:05:38
#8630: uuid string generator accepts invalid uuids
-----------------------------------------+----------------------------------
Reporter: record.nctu.cis91@⦠| Owner: atompkins
Type: Bugs | Status: new
Milestone: To Be Determined | Component: uuid
Version: Boost 1.53.0 | Severity: Problem
Keywords: uuid string generator |
-----------------------------------------+----------------------------------
I've tried stream operator and string generator to convert string into
uuids.[[BR]]
But the string generator one accepts some incorrect uuid
representation.[[BR]]
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?[[BR]]
To tell user such string is not a correct uuid representation.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8630> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC