Ticket 38: uuid_export(uuid, UUID_FMT_TXT, &data, &len) doesn't work
Perhaps the following patch says all.
--- uuid-0.9.7.orig/uuid.c Sat Feb 14 06:07:41 2004
+++ uuid-0.9.7/uuid.c Sat Feb 14 21:58:46 2004
@@ -611,7 +606,8 @@
return UUID_RC_ARG;
if (*data_len < out_len)
return UUID_RC_MEM;
- memcpy(*data_ptr, &out_ptr, out_len);
+ memcpy(*data_ptr, out_ptr, out_len);
+ *data_len = out_len;
}
return UUID_RC_OK;
anoncvs plz... it's too hard to take diff manually for me...
Remarks:
Properties:
Type: |
code |
|
Version: |
0.9.7 |
Status: |
closed |
|
Created: |
2004-Feb-14 14:10 |
Severity: |
2 |
|
Last Change: |
2004-Feb-16 10:14 |
Priority: |
3 |
|
Subsystem: |
uuid |
Assigned To: |
rse |
|
Derived From: |
|
Creator: |
anonymous |