diff --git a/pkgs/development/libraries/kde-frameworks/kinit/0004-start_kdeinit-environ-hard-limit.patch b/pkgs/development/libraries/kde-frameworks/kinit/0004-start_kdeinit-environ-hard-limit.patch index 34d4726150c0..2996342deadb 100644 --- a/pkgs/development/libraries/kde-frameworks/kinit/0004-start_kdeinit-environ-hard-limit.patch +++ b/pkgs/development/libraries/kde-frameworks/kinit/0004-start_kdeinit-environ-hard-limit.patch @@ -17,7 +17,7 @@ index f2db3e9..4ff2602 100644 if (read(0, &len, sizeof(unsigned)) == sizeof(unsigned) - && len && len < (1 << 12)) { + && len) { -+ if (len >= (1 << 14)) { ++ if (len >= (1 << 20)) { + fprintf(stderr, "%s: exceeded environment length limit", argv[0]); + return 1; + }