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

Michal Privoznik posted 3 patches 17 weeks ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1565340411.git.mprivozn@redhat.com
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(-)

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

Posted by Michal Privoznik 17 weeks ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list