]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: gendispatch: handle empty flags
authorJán Tomko <jtomko@redhat.com>
Fri, 18 Sep 2020 15:44:56 +0000 (17:44 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 30 Sep 2020 09:42:28 +0000 (11:42 +0200)
commit955029bd0ad7ef96000f529ac38204a8f4a96401
treee31df62077d7bb03f6964cf107b1cca74869b9e6
parent9c2ba74ad6e8cb5e76fc7954ae5445fc314f71e4
rpc: gendispatch: handle empty flags

CVE-2020-25637

Prepare for omission of the <flagname> in remote_protocol.x
@acl annotations:
 @acl: <object>:<permission>:<flagname>
so that we can add more fields after, e.g.:
 @acl: <object>:<permission>::<field>

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/rpc/gendispatch.pl