mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
shared: reject empty attachment path
This commit is contained in:
parent
1febf60f9d
commit
740831076c
@ -467,6 +467,9 @@ int bpf_program_deserialize_attachment(const char *v, FDSet *fds, BPFProgram **b
|
||||
return at;
|
||||
|
||||
/* The rest is the path */
|
||||
if (isempty(v))
|
||||
return -EINVAL;
|
||||
|
||||
l = cunescape(v, 0, &unescaped);
|
||||
if (l < 0)
|
||||
return l;
|
||||
|
@ -0,0 +1,11 @@
|
||||
curr :er
|
||||
82967574637335/dprunning
|
||||
|
||||
run-stedm\x2dsysctl.service.mount
|
||||
s4002
|
||||
te-ewal=0
|
||||
stat25 0
|
||||
ip-bpf-egress-installed=1651 4116038
|
||||
condi/dpad-nriv-j0
|
||||
userspmath-pci\x2d0000:00:01.1\x2d0
|
||||
ip-bpf-egress-installed=1651 recvmsg6
|
Loading…
Reference in New Issue
Block a user