public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Noah Misch <[email protected]>
Cc: Zhihong Yu <[email protected]>
Cc: PostgreSQL-development <[email protected]>
Subject: Re: null iv parameter passed to combo_init()
Date: Sun, 09 Jan 2022 02:32:33 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <CALNJ-vSBb2Ees=KB0frYBh7foK-QNZMbK7Vz66bUJa09D+CHAw@mail.gmail.com>
<[email protected]>
<CALNJ-vTh9BXARHg3iaCAzr97Fws2W5aR6nRPJfT4u3VdKDzRTQ@mail.gmail.com>
<[email protected]>
Noah Misch <[email protected]> writes:
> On further thought, I would write it this way:
> - else
> + else if (ivlen != 0)
> memcpy(ivbuf, iv, ivlen);
FWIW, I liked the "ivlen > 0" formulation better. They should be
equivalent, because ivlen is unsigned, but it just seems like "> 0"
is more natural.
regards, tom lane
view thread (3+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: null iv parameter passed to combo_init()
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox