[PATCH] Fix UUID string buffer length in a couple of spots

# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1217861057 25200 # Node ID 7ecbef9e2146cb2937c2cff27be0f2e4c75ea1cc # Parent fed521ebbf7d0b64a90036252f9e6c765d8b3105 Fix UUID string buffer length in a couple of spots Thanks to Jim Fehlig for pointing this out. Signed-off-by: Dan Smith <danms@us.ibm.com> diff -r fed521ebbf7d -r 7ecbef9e2146 src/Virt_VSMigrationService.c --- a/src/Virt_VSMigrationService.c Thu Jul 31 07:25:33 2008 -0700 +++ b/src/Virt_VSMigrationService.c Mon Aug 04 07:44:17 2008 -0700 @@ -78,7 +78,7 @@ char *ref_ns; char *host; uint16_t type; - char uuid[33]; + char uuid[VIR_UUID_STRING_BUFLEN]; }; static CMPIStatus get_msd(const CMPIObjectPath *ref, diff -r fed521ebbf7d -r 7ecbef9e2146 src/Virt_VirtualSystemSnapshotService.c --- a/src/Virt_VirtualSystemSnapshotService.c Thu Jul 31 07:25:33 2008 -0700 +++ b/src/Virt_VirtualSystemSnapshotService.c Mon Aug 04 07:44:17 2008 -0700 @@ -51,7 +51,7 @@ struct snap_context { CMPIContext *context; char *domain; - char uuid[33]; + char uuid[VIR_UUID_STRING_BUFLEN]; char *save_path; char *ref_ns; char *ref_cn;

Dan Smith wrote:
# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1217861057 25200 # Node ID 7ecbef9e2146cb2937c2cff27be0f2e4c75ea1cc # Parent fed521ebbf7d0b64a90036252f9e6c765d8b3105 Fix UUID string buffer length in a couple of spots
+1 Thanks Dan! Jim
participants (2)
-
Dan Smith
-
Jim Fehlig