]> sourceware.org Git - lvm2.git/commitdiff
Use flexible data[] in cmirrord request to prevent abort in runtime size checks.
authorMilan Broz <mbroz@redhat.com>
Tue, 22 Jun 2010 13:11:29 +0000 (13:11 +0000)
committerMilan Broz <mbroz@redhat.com>
Tue, 22 Jun 2010 13:11:29 +0000 (13:11 +0000)
WHATS_NEW
libdm/misc/dm-log-userspace.h

index cb57ed3c053effde852029aa9e2db7e66c613206..7533e13f3c5fb1b7272d2f199b1280715ed847db 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.68 -
 ===============================
+  Use flexible data[] in cmirrord request to prevent abort in runtime size checks.
   Honor log argument when down-converting stacked mirror.
   Sleep to workaround clvmd -S race: socket closed early and server drops cmd.
   Use early udev synchronisation and update of dev nodes for clustered mirrors.
index 9f71f4b87c3fcfaf1c4592e3ab0d64b26fe83e06..7cacb18456a77ca05b5153ad4eaba9cf76f3c8ad 100644 (file)
@@ -391,7 +391,7 @@ struct dm_ulog_request {
        uint32_t request_type;  /* DM_ULOG_* defined above */
        uint32_t data_size;     /* How much data (not including this struct) */
 
-       char data[0];
+       char data[];
 };
 
 #endif /* __DM_LOG_USERSPACE_H__ */
This page took 0.035762 seconds and 5 git commands to generate.