-
cgm_get: make sure @value is null-terminated · 08ddf801Serge Hallyn authored
Previously this was done by strncpy, but now we just read the len bytes - not including \0 - from a pipe, so pre-fill @value with 0s to be safe. This fixes the python3 api_test failure. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
08ddf801
×