Attention is currently required from: Hoernchen.

Hoernchen uploaded patch set #3 to this change.

View Change

lapd_pcap: fix illegal VLA within struct

Another weird and unique gcc supported extension, clang complains:
CC input/lapd_pcap.lo
input/lapd_pcap.c:134:8: error: fields must have a constant size:
'variable length array in structure' extension will never be supported
char buf[msg->len];
^

The kernel has been VLA-free since 2018, let's try not to make it worse.

Change-Id: I547d900ba88c60bae5b53345e1aee104bacd310d
---
M src/input/lapd_pcap.c
1 file changed, 22 insertions(+), 19 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/08/30908/3

To view, visit change 30908. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I547d900ba88c60bae5b53345e1aee104bacd310d
Gerrit-Change-Number: 30908
Gerrit-PatchSet: 3
Gerrit-Owner: Hoernchen <ewild@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: Hoernchen <ewild@sysmocom.de>
Gerrit-MessageType: newpatchset