From affed87af1ad1a19a1baab3bfd2d271049f52e6c Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 14 Jan 2009 21:54:31 +0100 Subject: libudev: use 4096 bytes buffer for attribute reading --- udev/lib/libudev-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'udev') diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c index a7722b3f6e..fc881fb3fd 100644 --- a/udev/lib/libudev-device.c +++ b/udev/lib/libudev-device.c @@ -862,7 +862,7 @@ const char *udev_device_get_sysattr_value(struct udev_device *udev_device, const { struct udev_list_entry *list_entry; char path[UTIL_PATH_SIZE]; - char value[UTIL_NAME_SIZE]; + char value[4096]; struct stat statbuf; int fd; ssize_t size; -- cgit v1.2.3-54-g00ecf