pgsql: Fix incorrect snprintf() limit.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix incorrect snprintf() limit.
Date: 2015-05-23 20:05:56
Message-ID: E1YwFgC-0006kF-Nx@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix incorrect snprintf() limit.

Typo in commit 7cbee7c0a. No practical effect since the buffer should
never actually be overrun, but various compilers and static analyzers will
whine about it.

Petr Jelinek

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/72809480d658fbc0654239b2f089991c077c676a

Modified Files
--------------
src/backend/access/transam/xlog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-05-23 20:24:35 pgsql: Add error check for lossy distance functions in index-only scans
Previous Message Tom Lane 2015-05-23 19:35:21 Re: [COMMITTERS] pgsql: Allow GiST distance function to return merely a lower-bound.