Re: 7.2.1 backend crash (convert_string_datum, locale)

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mats Lofkvist <mal@algonet.se>
Cc: pgsql-bugs@postgresql.org, Andrew Sullivan <andrew@libertyrms.info>
Date: 2002-07-12T03:15:42Z
Lists: pgsql-bugs
Mats Lofkvist <mal@algonet.se> writes:
> When testing postgres 7.2.1 on a sparc/solaris8 box with
> --enable-locale --enable-multibyte I get a crash in
> convert_string_datum.

This smells like a problem that we chased down awhile back, that
snprintf on Solaris is broken (it will write past the end of the
specified buffer length, thus corrupting adjacent data).

Andrew, I think that was your test case we found it on.  Do you
recall if a fix is available from Sun?

			regards, tom lane