BUG #6066: Bad string in German translation causes segfault (user-triggerable)

From: "Christoph Berg" <cb(at)df7cb(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6066: Bad string in German translation causes segfault (user-triggerable)
Date: 2011-06-17 08:18:03
Message-ID: 201106170818.p5H8I3ko064877@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 6066
Logged by: Christoph Berg
Email address: cb(at)df7cb(dot)de
PostgreSQL version: 9.1, 9.0, 8.4
Operating system: any
Description: Bad string in German translation causes segfault
(user-triggerable)
Details:

In German locale, the follow statement causes vsnprintf() to segfault when
printing the hint:

SELECT TO_DATE('30.12.2011', 'YYYYMMDD') AS datum;

Fix tested for 8.4:

$ diff -c src/backend/po/de.po.orig src/backend/po/de.po
*** src/backend/po/de.po.orig 2011-06-17 10:06:41.000000000 +0200
--- src/backend/po/de.po 2011-06-17 10:06:48.000000000 +0200
***************
*** 12318,12324 ****
"If your source string is not fixed-width, try using the \"FM\"
modifier."
msgstr ""
"Wenn die Quellzeichenkette keine feste Breite hat, versuchen Sie den "
! "Modifikator »%s«."

#: utils/adt/formatting.c:1886 utils/adt/formatting.c:1899
#: utils/adt/formatting.c:2029
--- 12318,12324 ----
"If your source string is not fixed-width, try using the \"FM\"
modifier."
msgstr ""
"Wenn die Quellzeichenkette keine feste Breite hat, versuchen Sie den "
! "Modifikator »FM«."

#: utils/adt/formatting.c:1886 utils/adt/formatting.c:1899
#: utils/adt/formatting.c:2029

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bernd Helmle 2011-06-17 08:22:40 Re: BUG #6066: Bad string in German translation causes segfault (user-triggerable)
Previous Message Ben 2011-06-17 07:56:51 BUG #6065: FATAL: lock 0 not held