diff options
author | Thomas Haller <thaller@redhat.com> | 2016-09-27 11:21:44 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-09-27 11:24:47 +0200 |
commit | 1b8c201cce0bf60fd465519ca4295780568c226a (patch) | |
tree | 30ec7cf5f9ea07c89a31a744de7490e27203b7a1 /libnm | |
parent | c2ef5da42a38d17588fb2591ce790e3daf87aac4 (diff) |
cli: reject team.config from files with '\0'
The team-config must be valid utf-8. First of all, JSON
is also defined for other unicode encodings, but libjansson
can only handle utf-8. So, just require that.
A file with a '\0' truncates part of the file and is thus
invalid.
Diffstat (limited to 'libnm')
-rw-r--r-- | libnm/libnm.ver | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnm/libnm.ver b/libnm/libnm.ver index bc47e8625..bfd15b0b9 100644 --- a/libnm/libnm.ver +++ b/libnm/libnm.ver @@ -1085,6 +1085,7 @@ global: } libnm_1_2_0; libnm_1_6_0 { +global: nm_capability_get_type; nm_utils_is_json_object; } libnm_1_4_0; |