mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-12 09:17:44 +03:00
libudev: monitor - do not memset() receive buffer
This commit is contained in:
parent
abac5c7976
commit
8482018afc
@ -8,7 +8,7 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
||||
AM_MAKEFLAGS = --no-print-directory
|
||||
|
||||
LIBUDEV_CURRENT=13
|
||||
LIBUDEV_REVISION=1
|
||||
LIBUDEV_REVISION=2
|
||||
LIBUDEV_AGE=13
|
||||
|
||||
LIBGUDEV_CURRENT=1
|
||||
|
@ -588,7 +588,6 @@ UDEV_EXPORT struct udev_device *udev_monitor_receive_device(struct udev_monitor
|
||||
retry:
|
||||
if (udev_monitor == NULL)
|
||||
return NULL;
|
||||
memset(buf, 0x00, sizeof(buf));
|
||||
iov.iov_base = &buf;
|
||||
iov.iov_len = sizeof(buf);
|
||||
memset (&smsg, 0x00, sizeof(struct msghdr));
|
||||
|
Loading…
Reference in New Issue
Block a user