core: be strict when parsing connection in AddAndActivateConnection
authorThomas Haller <thaller@redhat.com>
Wed, 23 Mar 2016 15:12:12 +0000 (16:12 +0100)
committerThomas Haller <thaller@redhat.com>
Tue, 29 Mar 2016 09:55:24 +0000 (11:55 +0200)
commit0c5b98b46459a0d4ada4b2c2f9d369a8d3333f3c
treeddfca88d450c2665993508300880c4a66b9dbfb8
parentd4c201272eac243b60d35ee843fa00f323c4d955
core: be strict when parsing connection in AddAndActivateConnection

AddAndActivateConnection is allowed to provide an incomplete connection
that will be completed by NetworkManager. That is, a connection that
does not verify.

But we still want to catch invalid properties or unknown setting types.
Thus, we want to reject invalid partial connections.

This possibly rejects invalid requests from clients that were accepted
before. Thus this change has the potential to break misbehaving clients.
src/nm-manager.c