pgsql: Fix pointer-arithmetic thinko in pg_stat_ssl patch. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix pointer-arithmetic thinko in pg_stat_ssl patch.
Date
Msg-id E1ZJoYF-00069L-Ov@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix pointer-arithmetic thinko in pg_stat_ssl patch.

Nasty memory-stomp bug in commit 9029f4b37406b21a.  It's not apparent how
this survived even cursory testing :-(.  Per report from Peter Holzer.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7d791ed49be28f2dfdd31e262dc35c4595718267

Modified Files
--------------
src/backend/postmaster/pgstat.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Don't assume that 'char' is signed.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix pointer-arithmetic thinko in pg_stat_ssl patch.