Skip to Content.
Sympa Menu

freetds - Re: [freetds] [PATCH] 0.91 segfault in SQLTables

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] [PATCH] 0.91 segfault in SQLTables
  • Date: Thu, 2 Aug 2012 11:41:45 -0400

On Thu, 2 Aug 2012 10:23:19 +0200
Lionel Elie Mamane <lionel AT mamane.lu> wrote:

> Attached is the patch I apply to my local copy of FreeTDS. It solves a
> segfault when connecting to MS SQL Server or Sybase SQL Anywhere from
> LibreOffice, when LibreOffice calls SQLTables().

Applied with modification to master branch. A quick search for
param_qualifier in that function shows it's initialized to -1 and used
in that loop before being set. An index of -1 is rarely a good
idea. ;-)

Thanks for the patch!

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page