Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd9e6e14 authored by Tom Cherry's avatar Tom Cherry
Browse files

ueventd: bump UEVENT_MSG_LEN to 8192

The previous size, 2048, is only the size of the 'environment' for the
uevent message, but doesn't include the <action>@<dev path> portion.
The <action> portion has a max length < 10, but the <dev path> portion
is unbounded.

8192 should be plenty to capture all of these parameters.

Bug: 161580785
Test: ueventd still works
Merged-In: I6de6fd3a444ac91b3b4df154097abde3696e21b3
Change-Id: I6de6fd3a444ac91b3b4df154097abde3696e21b3
(cherry picked from commit 939b41c7)
parent cef328b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@

#include "uevent.h"

#define UEVENT_MSG_LEN 2048
#define UEVENT_MSG_LEN 8192

namespace android {
namespace init {