diff options
author | Robert Milasan <rmilasan@suse.com> | 2014-04-24 11:23:33 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-04-24 16:12:18 -0400 |
commit | 48255c443bafc746eba3461d2ecd70121859a397 (patch) | |
tree | 8cd06c4ff5373c16a8f83b295ce2f2e762dbccbc /src/udev | |
parent | 2ac0b74a96561efb12b7028d0a8f282943d8de3f (diff) |
udev: increase the size of RESULT buffer
Under some conditions, in udev_rules_apply_to_event the fact that
result is 1024 bytes, creates problems if the output of the running
command/app is bigger then 1024 bytes.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udev-rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index e05f48c0a1..652ac411e1 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -2097,7 +2097,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]; free(event->program_result); event->program_result = NULL; |