OSSP CVS Repository

ossp - Ticket #150
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Attach]  [Edit]  [History

Ticket 150: uuid_dce_to_string doesn't work

When using the DCE 1.1 backwards compatibility interface, the function uuid_to_string (which is actually uuid_dce_to_string) doesn't work properly. I debugged through it and there are two problems.

1. On line 250:

  len = UUID_LEN_STR

should be:

  len = UUID_LEN_STR + 1

as this is later checked in the function below uuid_export().

2. On line 251: third parameter to uuid_export should be 'vp' and not '&vp'. The uuid_to_string function already receives a pointer to a char array in 'str'. The functions below uuid_export() do not expect another level of indirection.

[Add remarks]

Remarks:

Properties:

Type: code           Version: 1.5.1 
Status: new          Created: 2007-Feb-05 15:02
Severity:          Last Change: 2007-Feb-05 15:02
Priority:          Subsystem: uuid 
Assigned To: anonymous           Derived From:  
Creator: anonymous 

CVSTrac 2.0.1