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>
Mon, 27 Sep 2010 19:28:56 +0000 (21:28 +0200)
commit41374f171e3648614c7d61f149ed550f400f4218
treeef6bca9b4c1b0410f4b4c02bed60aa9d4a7b444a
parent2ee3b0822a8978725757548aafc7d7d2b7c115a1
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).
(cherry picked from commit 3c4353d2aa15db278bb87c949cce2deb3a5072ca)
librpc/ndr/uuid.c