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

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



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


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