Skip to content
Commit 2760b0dc authored by Riccardo Schirone's avatar Riccardo Schirone Committed by Zbigniew Jędrzejewski-Szmek
Browse files

Allocate temporary strings to hold dbus paths on the heap

Paths are limited to BUS_PATH_SIZE_MAX but the maximum size is anyway too big
to be allocated on the stack, so let's switch to the heap where there is a
clear way to understand if the allocation fails.

(cherry picked from commit f519a19b)
(cherry picked from commit a09c1701)
parent f9d88e89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment