Re: pgsql: Ensure that snprintf.c's fmtint() doesn't overflow when printing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Ensure that snprintf.c's fmtint() doesn't overflow when printing
Date: 2018-10-03 20:24:23
Message-ID: 527.1538598263@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Andres Freund <andres(at)anarazel(dot)de> writes:
> Ensure that snprintf.c's fmtint() doesn't overflow when printing INT64_MIN.

Hm, I think you should s/uint64/unsigned long long/ to be consistent
with 595a0eab7.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2018-10-03 20:30:11 Re: pgsql: Ensure that snprintf.c's fmtint() doesn't overflow when printing
Previous Message Andres Freund 2018-10-03 20:16:36 pgsql: Ensure that snprintf.c's fmtint() doesn't overflow when printing