[debian-mysql] Bug#518477: segfault in mysql_real_connect() with empty Environment Variable $HOME

Sven Geggus lists at fuchsschwanzdomain.de
Fri Mar 6 13:17:30 UTC 2009


Package: libmysqlclient15off
Version: 5.0.51a-24
Severity: normal
Tags: patch


The following command causes a segfault when $HOME ist set to an empty
string as e.g. exim does when using a pipe-transport.

This breaks mail-delivery when libnss-mysql-bg is in use!

Bug can be triggered by this simple command:
echo "SELECT 'mysql ok'" | HOME='' mysql

A patch and a description of the Bug can be found at
http://bugs.mysql.com/bug.php?id=30394

The bug does not seem to apear on i386, only on amd64

Regards

Sven

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27.6
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libmysqlclient15off depends on:
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  mysql-common           5.0.51a-24        MySQL database common files
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

libmysqlclient15off recommends no packages.

libmysqlclient15off suggests no packages.

-- no debconf information





More information about the pkg-mysql-maint mailing list