[libvirt] [PATCH 0/3] Fix NSS issue

Michal Privoznik mprivozn at redhat.com
Fri Aug 9 08:49:08 UTC 2019


Haven't spotted it during review of Dan's patches.
Long story short, if there's an unexpected key in JSON parsing stops.
But in general a key is hot harmful and shouldn't cause parser to stop.
See 1/3 for more explanation.

Michal Prívozník (3):
  nss: Don't stop parsing on unexpected key
  nss: Include stdio.h and define NULLSTR when debugging is enabled
  nss: Don't leak memory on parse error

 tests/nssdata/virbr1.status    | 1 +
 tools/nss/libvirt_nss.h        | 2 ++
 tools/nss/libvirt_nss_leases.c | 9 +++++----
 3 files changed, 8 insertions(+), 4 deletions(-)

-- 
2.21.0




More information about the libvir-list mailing list