Missing return value checks in jsonfuncs.c

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Missing return value checks in jsonfuncs.c
Date: 2015-06-30 07:22:26
Message-ID: CAB7nPqQcj3hU9P7a6VUHoMepJkOYQrjXnT1g2f7Qy_CQ0Q8G_g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

Coverity is pointing out that a couple of return value checks are
missing for JsonbIteratorNext in jsonfuncs.c. Patch is attached to
append (void) to them, as far as I am guessing we want skip the value
iterated on.
Regards,
--
Michael

Attachment Content-Type Size
20150630_jsonfuncs_skip.patch text/x-patch 677 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2015-06-30 07:22:51 Re: Reducing ClogControlLock contention
Previous Message Michael Paquier 2015-06-30 07:13:25 Re: Reducing ClogControlLock contention