SHA256
1
0
forked from pool/systemd
systemd/1010-udev-increase-result-size-for-programs.patch

14 lines
603 B
Diff

Index: systemd-210/src/udev/udev-rules.c
===================================================================
--- systemd-210.orig/src/udev/udev-rules.c
+++ systemd-210/src/udev/udev-rules.c
@@ -2027,7 +2027,7 @@ int udev_rules_apply_to_event(struct ude
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;