Heap-based buffer overflow in the repeat() function for PostgreSQL before 7.2.2 allows attackers to execute arbitrary code by causing repeat() to generate a large string.
http://www.redhat.com/support/errata/RHSA-2003-001.html
http://www.novell.com/linux/security/advisories/2002_038_postgresql.html
http://www.mandriva.com/security/advisories?name=MDKSA-2002:062
http://secunia.com/advisories/8034
http://marc.info/?l=postgresql-announce&m=103062536330644
http://marc.info/?l=bugtraq&m=103036987114437&w=2
http://marc.info/?l=bugtraq&m=103021186622725&w=2
http://marc.info/?l=bugtraq&m=102987306029821&w=2
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000524
http://archives.postgresql.org/pgsql-announce/2002-08/msg00004.php