commit | 004c7a7fabb1c1f1ded97c776291c4a645941d99 | [log] [tgz] |
---|---|---|
author | Toby Gray <toby.gray@realvnc.com> | Wed Jun 26 16:26:39 2013 +0100 |
committer | Hans de Goede <hdegoede@redhat.com> | Wed Jun 26 17:29:36 2013 +0200 |
tree | 1a3e829bc4c22c8331fddd28580a05dfeae0640c | |
parent | 83c9c3cb73bb9af710c6f8e068d0af8b7206df08 [diff] |
Core: Avoid passing uninitialised data down the hotplug pipe. Due to alignment requirements, libusb_hotplug_message might have some padding bytes. This change makes sure that these padding bytes are initialised. Valgrind no longer complains about passing uninitialised data to the write system call. Signed-off-by: Hans de Goede <hdegoede@redhat.com>