diff options
author | Alin Popa <alin.popa@bmw.de> | 2020-02-14 09:33:43 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-02-16 02:09:26 +0900 |
commit | bec31cf5f0037dd049299e8665e03fc74024e357 (patch) | |
tree | d97bd1ed6fb7b2e968823c65cd2ef91e474117c9 /src/systemctl | |
parent | c315b79fb43a4d921a533ba0c2cb303324887993 (diff) | |
download | systemd-bec31cf5f0037dd049299e8665e03fc74024e357.tar.gz |
systemd: Fix busctl crash on aarch64 when setting output table format
The enum used for column names is integer type while table_set_display() is parsing
arguments on size_t alignment which may result in assert in table_set_display() if
the size between types missmatch. This patch cast the enums to size_t.
An alternative solution would be to change the table_set_display() function
arguments to unsigned type.
Diffstat (limited to 'src/systemctl')
0 files changed, 0 insertions, 0 deletions