[PATCH 0/3] Fix NSS issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux