core: be strict about connection argument in D-Bus methods
authorThomas Haller <thaller@redhat.com>
Wed, 23 Mar 2016 14:58:53 +0000 (15:58 +0100)
committerThomas Haller <thaller@redhat.com>
Tue, 29 Mar 2016 09:56:26 +0000 (11:56 +0200)
commit7991298c51fba372b6f45d6ec58bef584942c99b
tree5355c4467769e49dbbebb7728de2bbf93040bd28
parent0c5b98b46459a0d4ada4b2c2f9d369a8d3333f3c
core: be strict about connection argument in D-Bus methods

There is no excuse for clients to send connections to NetworkManager
that have invalid/unknown fields. Just reject them.

This is a dangerous change, because we might now reject connections
that we were accepting previously. Who know what clients were sending
and it used to work.
src/settings/nm-settings-connection.c
src/settings/nm-settings.c