[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#343552: marked as done (sqlrelay: segfaults when history file isn't writable)

Your message dated Wed, 09 Feb 2011 17:51:16 +0100
with message-id <4D52C604.10501@debian.org>
and subject line Bug#612526: Removed package(s) from unstable
has caused the Debian Bug report #343552,
regarding sqlrelay: segfaults when history file isn't writable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

343552: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343552
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: sqlrelay
Version: 1:0.35-10
Severity: minor

I was experimenting with sqlrelay as root, and then switched to my user
account.  The .sqlrsh_history file was chown 400 root.

The problem is this passage in src/cmdline/sqlrsh.C:

      // create the history file if it doesn't exist now
      FILE  *historyfile=fopen(filename,"a");


Wrapping fclose() and read_history() with

      if (historyfile) {


should suffice.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages sqlrelay depends on:
ii  libc6                     2.3.2.ds1-22   GNU C Library: Shared libraries an
ii  libgcc1                   1:3.4.3-13     GCC support library
ii  libncurses5               5.4-4          Shared libraries for terminal hand
ii  libpcre3                  4.5-1.2sarge1  Perl 5 Compatible Regular Expressi
ii  libreadline4              4.3-11         GNU readline and history libraries
ii  librudiments0c102         0.27-3         C++ class library providing base c
ii  libssl0.9.7               0.9.7e-3sarge1 SSL shared libraries
ii  libstdc++5                1:3.3.5-13     The GNU Standard C++ Library v3
ii  libxml2-utils             2.6.16-7       XML utilities

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1:0.39.4-9+rm

Dear submitter,

as the package sqlrelay has just been removed from the Debian archive
unstable we hereby close the assiciated bug reports. We are sorry that
we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/612526

Debian distribution maintenance software
Luca Falavigna (the ftpmaster behind the curtain)

--- End Message ---

Reply to: