Re: pgsql: Ensure that snprintf.c's fmtint() doesn't overflow whenprinting - Mailing list pgsql-committers

From Andres Freund
Subject Re: pgsql: Ensure that snprintf.c's fmtint() doesn't overflow whenprinting
Date
Msg-id 20181003203011.c2euts5hqhc6xpcw@alap3.anarazel.de
Whole thread Raw
In response to Re: pgsql: Ensure that snprintf.c's fmtint() doesn't overflow when printing  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
Hi,

On 2018-10-03 16:24:23 -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.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.

Fair point. Will push once tests finish.

Greetings,

Andres Freund


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Ensure that snprintf.c's fmtint() doesn't overflow when printing
Next
From: Andres Freund
Date:
Subject: pgsql: Replace uint64 use introduced in 4868e446859 in light of595a0ea