diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-03-22 02:32:34 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-03-22 02:32:34 +0100 |
commit | ed205a6bc53735392b46fde6820520a1d18d6ebd (patch) | |
tree | 54e8220eb016089cf1c79e7290bb41f6991f05c7 /src/libsystemd-bus/bus-internal.h | |
parent | 2bf938c1913b2ba9644cc113de8dc30dd10abbd4 (diff) |
bus: when parsing enforce maximum container depth
Diffstat (limited to 'src/libsystemd-bus/bus-internal.h')
-rw-r--r-- | src/libsystemd-bus/bus-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h index 3c2478e8fd..d0b7b5658d 100644 --- a/src/libsystemd-bus/bus-internal.h +++ b/src/libsystemd-bus/bus-internal.h @@ -118,6 +118,8 @@ static inline void bus_unrefp(sd_bus **b) { #define BUS_MESSAGE_SIZE_MAX (64*1024*1024) #define BUS_AUTH_SIZE_MAX (64*1024) +#define BUS_CONTAINER_DEPTH 128 + /* Defined by the specification as maximum size of an array in * bytes */ #define BUS_ARRAY_MAX_SIZE 67108864 |