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)
committerAndreas Schneider <asn@samba.org>
Tue, 29 Jun 2010 09:12:12 +0000 (11:12 +0200)
commite52f3d8637c7af2f0ea57954c7f13389f5a1e125
treeed0112457449e1f7751f3601dbcdc06206050a3c
parent845e7a609d23677539d9439b941e0dffb53f6bc9
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.
librpc/ndr/uuid.c