From: Harald Hoyer Date: Fri, 12 Nov 2010 13:39:14 +0000 (+0100) Subject: udev-rules.c: change import property buffer to 16384 bytes X-Git-Tag: 174~304 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=851dd4ddc5aeb1ee517145d9e3334c2017595321;p=systemd udev-rules.c: change import property buffer to 16384 bytes import_program_into_properties() should have the same line length as import_file_into_properties() see also https://bugzilla.redhat.com/show_bug.cgi?id=652318 --- diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 52f121c2..ab7b6aed 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -751,7 +751,7 @@ static int import_program_into_properties(struct udev_device *dev, const char *p { struct udev *udev = udev_device_get_udev(dev); char **envp; - char result[4096]; + char result[UTIL_LINE_SIZE]; size_t reslen; char *line;