s3-librpc: Fixed GUID_from_data_blob() with length of 32.
authorAndreas Schneider <asn@samba.org>
Mon, 28 Jun 2010 19:00:30 +0000 (21:00 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 1 Jul 2010 10:18:47 +0000 (12:18 +0200)
commit3c4353d2aa15db278bb87c949cce2deb3a5072ca
tree8a3ff35fe63fd77282f9c5f264f7e37334403648
parent28f6e4144b092bd21f49ca989d36df19ce002231
s3-librpc: Fixed GUID_from_data_blob() with length of 32.

If we hit the case that the blob length is 32. The code goes to the end
of the function and generates a GUID with garbage.
So try to convert the blob to the GUID and return.

Fix bug #7538 (Backport fixes for GUID_from_data_blob).
librpc/ndr/uuid.c