diff options
author | Milan Broz <mbroz@redhat.com> | 2010-06-22 13:11:29 +0000 |
---|---|---|
committer | Milan Broz <mbroz@redhat.com> | 2010-06-22 13:11:29 +0000 |
commit | eac8de9bfb9af0b02263cccce7552007e9e65c38 (patch) | |
tree | e360f965cb571d35a00cf3d7295fe47481024caa /libdm/misc | |
parent | 21a5699f126a4e67529a71204172570beb10c449 (diff) | |
download | lvm2-eac8de9bfb9af0b02263cccce7552007e9e65c38.tar.gz |
Use flexible data[] in cmirrord request to prevent abort in runtime size checks.
Diffstat (limited to 'libdm/misc')
-rw-r--r-- | libdm/misc/dm-log-userspace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/misc/dm-log-userspace.h b/libdm/misc/dm-log-userspace.h index 9f71f4b87..7cacb1845 100644 --- a/libdm/misc/dm-log-userspace.h +++ b/libdm/misc/dm-log-userspace.h @@ -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__ */ |