Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 26E88B5DBC0 for ; Fri, 17 Jun 2011 05:18:04 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 13220-04 for ; Fri, 17 Jun 2011 08:18:03 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 846BFB5D944 for ; Fri, 17 Jun 2011 05:18:03 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p5H8I3pV064878 for ; Fri, 17 Jun 2011 08:18:03 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p5H8I3ko064877; Fri, 17 Jun 2011 08:18:03 GMT (envelope-from www) Date: Fri, 17 Jun 2011 08:18:03 GMT Message-Id: <201106170818.p5H8I3ko064877@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6066: Bad string in German translation causes segfault (user-triggerable) From: "Christoph Berg" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201106/138 X-Sequence-Number: 30517 The following bug has been logged online: Bug reference: 6066 Logged by: Christoph Berg Email address: cb@df7cb.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