On Tue, Mar 25, 2014 at 1:36 PM, Robert Milasan <rmila...@suse.com> wrote:
> Hello, seems that under some conditions in udev_rules_apply_to_event
> (@TK_M_PROGRAM) the fact that result is 1024 bytes creates problems if
> the output of the running command/app is bigger then 1024 bytes.

> +++ b/src/udev/udev-rules.c
> @@ -2027,7 +2027,7 @@ int udev_rules_apply_to_event(struct udev_rules
> *rules, struct udev_event *event case TK_M_PROGRAM: {
>                          char program[UTIL_PATH_SIZE];
>                          char **envp;
> -                        char result[UTIL_PATH_SIZE];
> +                        char result[UTIL_LINE_SIZE];

Applied.

Thanks,
Kay
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to